Share via


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)

Syntax

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

Members

Member name Description
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 The control can have multiple selections.
None The control has no state setting.
Normal The control is in a normal state.
Offscreen The control is not on screen.
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.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace