Skip to main content

GetSelection Method

Retrieves a provider for each child element that is selected.

Definition​

Namespace: Avalonia.Automation.Provider
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

IReadOnlyList<AutomationPeer> GetSelection()
View Source

Return Value​

IReadOnlyList(AutomationPeer)

Remarks​

WindowsISelectionProvider.GetSelection
macOSNSAccessibilityProtocol.accessibilitySelectedChildren (not implemented).

See Also​

Reference​

ISelectionProvider Interface
Avalonia.Automation.Provider Namespace