Skip to main content

ToggleState Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Contains values that specify the toggle state of a UI Automation element.

public enum ToggleState

Inheritance: Enum -> ToggleState

Fields​

NameDescription
IndeterminateThe UI Automation element is in an indeterminate state.
OffThe UI Automation element isn't selected, checked, marked, or otherwise activated.
OnThe UI Automation element is selected, checked, marked, or otherwise activated.

Indeterminate Field​

The UI Automation element is in an indeterminate state.

public Avalonia.Automation.Provider.ToggleState Indeterminate

Off Field​

The UI Automation element isn't selected, checked, marked, or otherwise activated.

public Avalonia.Automation.Provider.ToggleState Off

On Field​

The UI Automation element is selected, checked, marked, or otherwise activated.

public Avalonia.Automation.Provider.ToggleState On