IToggleProvider Interface
Definition
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
ToggleState |
Gets the toggle state of the control. |
Methods
Toggle() |
Cycles through the toggle states of a control. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈