ToggleState Enumeration
Contains values that specify the ToggleState of a UI Automation element.
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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.