IUIAutomationTogglePattern interface (uiautomationclient.h)

Provides access to a control that can cycle through a set of states, and maintain a state after it is set.


The IUIAutomationTogglePattern interface inherits from the IUnknown interface. IUIAutomationTogglePattern also has these types of members:


The IUIAutomationTogglePattern interface has these methods.


Retrieves the cached state of the control.

Retrieves the state of the control.

Cycles through the toggle states of the control.


Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

Control Pattern Interfaces for Clients