Table of Contents

Class RadioButtonAutomationPeer

Namespace
Avalonia.Controls.Automation.Peers
Assembly
Avalonia.Controls.dll
public class RadioButtonAutomationPeer : ToggleButtonAutomationPeer, IToggleProvider, ISelectionItemProvider
Inheritance
RadioButtonAutomationPeer
Implements
Inherited Members

Constructors

RadioButtonAutomationPeer(RadioButton)

public RadioButtonAutomationPeer(RadioButton owner)

Parameters

owner RadioButton

Properties

IsSelected

Gets a value that indicates whether an item is selected.

public bool IsSelected { get; }

Property Value

bool

Remarks

Windows ISelectionItemProvider.IsSelected
macOS NSAccessibilityProtocol.isAccessibilitySelected

SelectionContainer

Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.

public ISelectionProvider? SelectionContainer { get; }

Property Value

ISelectionProvider

Remarks

Windows ISelectionItemProvider.SelectionContainer
macOSNo mapping.

Methods

AddToSelection()

Adds the current element to the collection of selected items.

public void AddToSelection()

Remarks

Windows ISelectionItemProvider.AddToSelection
macOS NSAccessibilityProtocol.accessibilityPerformPick (not implemented). NSAccessibilityProtocol.setAccessibilitySelected (not implemented).

GetAutomationControlTypeCore()

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

protected override string GetClassNameCore()

Returns

string

RemoveFromSelection()

Removes the current element from the collection of selected items.

public void RemoveFromSelection()

Remarks

Windows ISelectionItemProvider.RemoveFromSelection
macOS NSAccessibilityProtocol.setAccessibilitySelected (not implemented).

Select()

Clears any existing selection and then selects the current element.

public void Select()

Remarks

Windows ISelectionItemProvider.Select
macOSNo mapping.