Vixen
dd8b0a81
csharp
public enum ElementState

The transient conditions a selector can ask about.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Kept as flags on the element rather than as a query into the input system, because the cascade has to be able to answer "what would this element look like if it were hovered" without anything actually being hovered — which is what a transition needs in order to know what it is transitioning to.

Fields and properties (17)

  • None

    Nothing.

  • Hover

    The pointer is over it.

  • Active

    It is being pressed.

  • Focus

    It has keyboard focus.

  • FocusVisible

    It has focus and the focus should be shown — keyboard navigation rather than a click.

  • Disabled

    It does not accept input.

  • Checked

    It is a checkbox, radio or toggle that is on.

  • FocusWithin

    Focus is on it or on something inside it.

  • ReadOnly

    It can be read and selected but not edited.

  • PlaceholderShown

    It is showing its placeholder because it has no value of its own.

  • Indeterminate

    It is a checkbox or a progress bar whose value is neither of the two answers.

  • Required

    A value has to be supplied before the control is acceptable.

  • Valid

    Its value satisfies whatever rule it carries.

  • Invalid

    Its value breaks a rule it carries.

  • OutOfRange

    Its value is outside the bounds it carries.

  • UserInteracted

    The user has had a go at it, rather than only having been shown it.

  • Open

    A disclosure, a picker or a popover that is currently showing its contents.

Used by (100, showing 40)

  • AccessKeyTestsVixen.Ui.Tests
  • AccessibilityNotificationTestsVixen.Ui.Controls.Tests
  • AccessibilityTestsVixen.Ui.Tests
  • BreadcrumbVixen.Ui.Controls
  • ButtonBaseVixen.Ui.Controls
  • ButtonTestsVixen.Ui.Controls.Tests
  • CheckBoxVixen.Ui.Controls
  • ColorInputVixen.Ui.Controls.Advanced
  • ColorPickerVixen.Ui.Controls.Advanced
  • ColorPickerFocusRingTestsVixen.Ui.Controls.Advanced.Tests
  • ColorSwatchVixen.Ui.Controls.Advanced
  • ComboBoxVixen.Ui.Controls
  • CommandBindingTestsVixen.Ui.Controls.Tests
  • CompactionTestsVixen.Ui.Styling.Tests
  • CompositionTestsVixen.Ui.Styling.Utilities.Tests
  • ControlVixen.Ui.Controls
  • DataGridVixen.Ui.Controls.Advanced
  • DataRowVixen.Ui.Controls.Advanced
  • DiagnosticsTestsVixen.Ui.Tests
  • DisabledStateTestsVixen.Ui.Controls.Tests
  • DockTabVixen.Ui.Controls.Advanced
  • DockingHostVixen.Ui.Controls.Advanced
  • DockingTestsVixen.Ui.Controls.Advanced.Tests
  • DumpLineEndingTestsVixen.Ui.Testing.Tests
  • ElementStateBitTestsVixen.Ui.Controls.Tests
  • ExpanderVixen.Ui.Controls
  • ExpanderHeaderVixen.Ui.Controls
  • FieldValidationTestsVixen.Ui.Controls.Tests
  • FieldValidityVixen.Ui.Controls
  • FocusTestsVixen.Ui.Tests
  • HasInvalidationTestsVixen.Ui.Styling.Tests
  • HoverTestsVixen.Ui.Tests
  • IncrementalDocumentTestsVixen.Ui.Tests
  • IncrementalRestyleOracleTestsVixen.Ui.Styling.Tests
  • InteractionTestsVixen.Ui.Testing.Tests
  • InvalidationTestsVixen.Ui.Styling.Tests
  • KeyboardTestsVixen.Ui.Tests
  • MultiSelectVixen.Ui.Controls
  • MutationVixen.Ui.Styling.Tests
  • NavigationInteractionTestsVixen.Ui.Controls.Tests