Поделиться через


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
None The control has no state setting.
Unavailable The control is not available.
Selected The control is selected.
Focused The control has the focus of the keyboard.
Pressed The control is pressed.
Checked The control is checked.
Mixed The control is a tri-state check box and is in a mixed or indeterminate state.
Indeterminate The control is a tri-state check box and is in a mixed or indeterminate state.
ReadOnly The control is read-only.
HotTracked The control is hot tracked, such as when the mouse hovers over the control.
Default The control is in a default state.
Expanded The control is expanded.
Collapsed The control is collapsed.
Busy The control is busy.
Floating The control location is not fixed to the boundary of its parent control and does not move automatically with the parent control.
Marqueed The control has scrolling or moving text or graphics.
Animated The control has animated graphics.
Invisible The control is not visible.
Offscreen The control is not on screen.
Sizeable The control is sizable.
Moveable The control is movable.
SelfVoicing The control uses speech to describe itself.
Focusable The control can receive the focus of the keyboard.
Selectable The control is selectable.
Linked The control is a linked control that has not yet been selected.
Traversed The control is a linked control that has been previously selected or traversed.
MultiSelectable The control can have multiple selections.
ExtSelectable The control is extended and multiselectable.
AlertLow The control has low-priority information.
AlertMedium The control has medium-priority information.
AlertHigh The control has high-priority information.
Protected The control is password protected.
HasPopup The control displays a pop-up menu or window when it is invoked.
Invalid The control is not a valid control.
Restored The window is restored.
Maximized The window is maximized.
Minimized The window is minimized.
Normal The control is in a normal state.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace