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.

ControlStates Enumeration

 

Enumerates the bitwise combination of flags that indicate the states for a control.

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

[FlagsAttribute]
public enum class ControlStates

Member nameDescription
AlertHigh

The control has high-priority information.

AlertLow

The control has low-priority information.

AlertMedium

The control has medium-priority information.

Animated

The control has animated graphics.

Busy

The control is busy.

Checked

The control is checked.

Collapsed

The control is collapsed.

Default

The control is in a default state.

Expanded

The control is expanded.

ExtSelectable

The control is extended and multiselectable.

Floating

The control location is not fixed to the boundary of its parent control and does not move automatically with the parent control.

Focusable

The control can receive the focus of the keyboard.

Focused

The control has the focus of the keyboard.

HasPopup

The control displays a pop-up menu or window when it is invoked.

HotTracked

The control is hot tracked, such as when the mouse hovers over the control.

Indeterminate

The control is a tri-state check box and is in a mixed or indeterminate state.

Invalid

The control is not a valid control.

Invisible

The control is not visible.

Linked

The control is a linked control that has not yet been selected.

Marqueed

The control has scrolling or moving text or graphics.

Maximized

The window is maximized.

Minimized

The window is minimized.

Mixed

The control is a tri-state check box and is in a mixed or indeterminate state.

Moveable

The control is movable.

MultiSelectable

None

The control has no state setting.

Normal

The control is in a normal state.

Off

Offscreen

The control is not on screen.

On

Pressed

The control is pressed.

Protected

The control is password protected.

ReadOnly

The control is read-only.

Restored

The window is restored.

Selectable

The control is selectable.

Selected

The control is selected.

SelfVoicing

The control uses speech to describe itself.

Sizeable

The control is sizable.

Traversed

The control is a linked control that has been previously selected or traversed.

Unavailable

The control is not available.

Return to top
Show: