Table of Contents

Interface IToggleProvider

Namespace
Avalonia.Automation.Provider
Assembly
Avalonia.Controls.dll

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

Properties

ToggleState

Gets the toggle state of the control.

ToggleState ToggleState { get; }

Property Value

ToggleState

Remarks

Windows IToggleProvider.ToggleState
macOS NSAccessibilityProtocol.accessibilityValue

Methods

Toggle()

Cycles through the toggle states of a control.

void Toggle()

Remarks

Windows IToggleProvider.Toggle
macOS NSAccessibilityProtocol.accessibilityPerformPress