Partilhar via


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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ExpandCollapseOptions
[FlagsAttribute]
public enum ExpandCollapseOptions
[FlagsAttribute]
public enum class ExpandCollapseOptions
[<FlagsAttribute>]
type ExpandCollapseOptions
public enum ExpandCollapseOptions

Members

Member name Description
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.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElement