Export (0) Print
Expand All
Expand Minimize

ControlStates Enumeration

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

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)

public enum ControlStates

Member nameDescription
AlertHighThe control has high-priority information.
AlertLowThe control has low-priority information.
AlertMediumThe control has medium-priority information.
AnimatedThe control has animated graphics.
BusyThe control is busy.
CheckedThe control is checked.
CollapsedThe control is collapsed.
DefaultThe control is in a default state.
ExpandedThe control is expanded.
ExtSelectableThe control is extended and multiselectable.
FloatingThe control location is not fixed to the boundary of its parent control and does not move automatically with the parent control.
FocusableThe control can receive the focus of the keyboard.
FocusedThe control has the focus of the keyboard.
HasPopupThe control displays a pop-up menu or window when it is invoked.
HotTrackedThe control is hot tracked, such as when the mouse hovers over the control.
IndeterminateThe control is a tri-state check box and is in a mixed or indeterminate state.
InvalidThe control is not a valid control.
InvisibleThe control is not visible.
LinkedThe control is a linked control that has not yet been selected.
MarqueedThe control has scrolling or moving text or graphics.
MaximizedThe window is maximized.
MinimizedThe window is minimized.
MixedThe control is a tri-state check box and is in a mixed or indeterminate state.
MoveableThe control is movable.
MultiSelectableThe control can have multiple selections.
NoneThe control has no state setting.
NormalThe control is in a normal state.
OffscreenThe control is not on screen.
PressedThe control is pressed.
ProtectedThe control is password protected.
ReadOnlyThe control is read-only.
RestoredThe window is restored.
SelectableThe control is selectable.
SelectedThe control is selected.
SelfVoicingThe control uses speech to describe itself.
SizeableThe control is sizable.
TraversedThe control is a linked control that has been previously selected or traversed.
UnavailableThe control is not available.
© 2014 Microsoft