Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IToggleProvider Interface

Definition

Namespace:
System.Windows.Automation.Provider
Assembly:
UIAutomationProvider.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Exposes methods and properties to support UI Automation client access to controls that can cycle through a set of states and maintain a state once set.

public interface class IToggleProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("56d00bd0-c4f4-433c-a836-1a52a57e0892")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IToggleProvider
public interface IToggleProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("56d00bd0-c4f4-433c-a836-1a52a57e0892")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IToggleProvider = interface
type IToggleProvider = interface
Public Interface IToggleProvider
Derived
Attributes

Remarks

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

Properties

Name Description
ToggleState

Gets the toggle state of the control.

Methods

Name Description
Toggle()

Cycles through the toggle states of a control.

Applies to

See also


Feedback

Was this page helpful?