Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ToggleState Enumeration

 

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

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

<ComVisibleAttribute(True)>
<GuidAttribute("ad7db4af-7166-4478-a402-ad5b77eab2fa")>
Public Enumeration ToggleState

Member nameDescription
Indeterminate

The UI Automation element is in an indeterminate state.

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.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft