ToggleState Enumeration
Contains values that specify the ToggleState of a UI Automation element.
Namespace: System.Windows.Automation
Assembly: UIAutomationTypes (in UIAutomationTypes.dll)
| Member name | Description | |
|---|---|---|
| Off | The UI Automation element is not selected, checked, marked or otherwise activated. | |
| On | The UI Automation element is selected, checked, marked or otherwise activated. | |
| Indeterminate | The UI Automation element is in an indeterminate state. The Indeterminate property can be used to indicate whether the user has acted on a control. For example, a check box can appear checked and dimmed, indicating an indeterminate state. Creating an indeterminate state is different from disabling the control. Consequently, a check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate control the ToggleState cycles to its next value. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.