Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.4 KB
Raw Blame

IToggleProvider

Original Documentation

IToggleProvider interface (uiautomationcore.h)

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

Inheritance

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

Methods

The IToggleProvider interface has these methods.

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

Remarks

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

Requirements

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

See also

UI Automation Providers Overview