IToggleProvider interface

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


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


The IToggleProvider interface has these methods.

Method Description
IToggleProvider::get_ToggleState Specifies the toggle state of the control.
IToggleProvider::Toggle Cycles through the toggle states of a control.


Implemented on a Microsoft UI Automation provider that must support the Toggle control pattern.


Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

UI Automation Providers Overview