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 enum 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: