ToggleState Enumeration
Assembly: UIAutomationTypes (in uiautomationtypes.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
'Declaration <ComVisibleAttribute(True)> _ <GuidAttribute("ad7db4af-7166-4478-a402-ad5b77eab2fa")> _ Public Enumeration ToggleState 'Usage Dim instance As ToggleState
/** @attribute ComVisibleAttribute(true) */
/** @attribute GuidAttribute("ad7db4af-7166-4478-a402-ad5b77eab2fa") */
public enum ToggleState
ComVisibleAttribute(true) GuidAttribute("ad7db4af-7166-4478-a402-ad5b77eab2fa") public enum ToggleState
| Member name | Description | |
|---|---|---|
| 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. | |
| 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. |
A control must cycle through its ToggleState in this order: On, Off and if supported, Indeterminate.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.