Share via


ToggleState Enum

Definition

Contains values that specify the ToggleState of a UI Automation element.

public enum class ToggleState
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class ToggleState
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ToggleState
Public Enum ToggleState
Inheritance
ToggleState
Attributes

Fields

Name Value Description
Off 0

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

On 1

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

Indeterminate 2

The UI Automation element is in an indeterminate state.

Applies to