This documentation is archived and is not being maintained.

ExpandCollapseOptions Enumeration

Represents the flags that are used to configure, expand, and collapse actions for elements in the user interface.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

[FlagsAttribute]
public enum ExpandCollapseOptions

Member nameDescription
NoneUse the default behavior.
UseWindowMessageFor windowed tree controls, use the window message to expand or collapse this element.
UseDoubleClickDouble-click to expand or collapse this element.
UseNumpadUse the PLUS (+) and MINUS (-) keys on the number pad to expand or collapse this element.
UseEnterUse the ENTER key to expand or collapse this element.
UseProgrammaticUse the UITechnologyElement.InvokeProgrammaticAction to expand or collapse this element.
DoNotVerifyIgnore verification after the expand or collapse operation.
Show: