Enum ControlState
Represents the interaction states a UIElement can combine at once.
[Flags]
public enum ControlState
- Extension Methods
Fields
Checked = 32The element represents an "on"/checked value (e.g. a checked ToggleButton).
Disabled = 4The element is disabled and shouldn't respond to input.
Expanded = 64The element represents an expanded value (e.g. an expanded Expander).
Focused = 8The element has input focus.
Highlighted = 256The element is the currently keyboard/gamepad-highlighted item in an open Selector popup - distinct from Selected, which persists after the popup closes.
Hovered = 1The pointer is over the element.
Invalid = 512One of the element's bindings failed to write a value to its source (see HasError), e.g. text that isn't a number in a numeric field.
Normal = 0No interaction state is active.
Pressed = 2The element is being pressed (e.g. a mouse button is held down over it).
Selected = 128The element represents the currently selected item in a Selector.
Touching = 16The element is being touched.