Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExpandCollapseOptions Enumeration

 

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

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

[FlagsAttribute]
public enum class ExpandCollapseOptions

Member nameDescription
DoNotVerify

Ignore verification after the expand or collapse operation.

None

Use the default behavior.

UseDoubleClick

Double-click to expand or collapse this element.

UseEnter

Use the ENTER key to expand or collapse this element.

UseNumpad

Use the PLUS (+) and MINUS (-) keys on the number pad to expand or collapse this element.

UseProgrammatic

Use the UITechnologyElement::InvokeProgrammaticAction to expand or collapse this element.

UseWindowMessage

For windowed tree controls, use the window message to expand or collapse this element.

Return to top
Show: