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 particular state.
public interface IToggleProvider
Methods
| Name | Description |
|---|---|
| Toggle | Cycles through the toggle states of a control. |
Toggle Method
Cycles through the toggle states of a control.
public void Toggle()
Remarks
- Windows
IToggleProvider.Toggle - macOS
NSAccessibilityProtocol.accessibilityPerformPress
Properties
| Name | Description |
|---|---|
| ToggleState | Gets the toggle state of the control. |
ToggleState Property
Gets the toggle state of the control.
public Avalonia.Automation.Provider.ToggleState ToggleState { get; set; }
Remarks
- Windows
IToggleProvider.ToggleState - macOS
NSAccessibilityProtocol.accessibilityValue