ControlStates Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class ControlStates
[System.Flags]
public enum ControlStates
[<System.Flags>]
type ControlStates = 
Public Enum ControlStates
Inheritance
ControlStates
Attributes

Fields

Name Value Description
None 0

The control has no state setting.

Unavailable 1

The control is not available.

Selected 2

The control is selected.

Focused 4

The control has the focus of the keyboard.

Pressed 8

The control is pressed.

Checked 16

The control is checked.

Indeterminate 32

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

Mixed 32

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

ReadOnly 64

The control is read-only.

HotTracked 128

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

Default 256

The control is in a default state.

Expanded 512

The control is expanded.

Collapsed 1024

The control is collapsed.

Busy 2048

The control is busy.

Floating 4096

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

Marqueed 8192

The control has scrolling or moving text or graphics.

Animated 16384

The control has animated graphics.

Invisible 32768

The control is not visible.

Offscreen 65536

The control is not on screen.

Sizeable 131072

The control is sizable.

Moveable 262144

The control is movable.

SelfVoicing 524288

The control uses speech to describe itself.

Focusable 1048576

The control can receive the focus of the keyboard.

Selectable 2097152

The control is selectable.

Linked 4194304

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

Traversed 8388608

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

MultiSelectable 16777216

The control can have multiple selections.

ExtSelectable 33554432

The control is extended and multiselectable.

AlertLow 67108864

The control has low-priority information.

AlertMedium 134217728

The control has medium-priority information.

AlertHigh 268435456

The control has high-priority information.

Protected 536870912

The control is password protected.

HasPopup 1073741824

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

Invalid 2147483648

The control is not a valid control.

Restored 4294967296

The window is restored.

Maximized 8589934592

The window is maximized.

Minimized 17179869184

The window is minimized.

Normal 34359738368

The control is in a normal state.

On 68719476736
Off 137438953472

Applies to