Redigera

Dela via


IToggleProvider Interface

Definition

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

ToggleState

Gets the toggle state of the control.

Methods

Toggle()

Cycles through the toggle states of a control.

Applies to

See also