Interface ISelectionProvider
- Namespace
- Avalonia.Automation.Provider
- Assembly
- Avalonia.Controls.dll
Exposes methods and properties to support access by a UI Automation client to controls that act as containers for a collection of individual, selectable child items.
public interface ISelectionProvider
Properties
CanSelectMultiple
Gets a value that indicates whether the provider allows more than one child element to be selected concurrently.
bool CanSelectMultiple { get; }
Property Value
Remarks
Windows |
ISelectionProvider.CanSelectMultiple
|
macOS | No mapping. |
IsSelectionRequired
Gets a value that indicates whether the provider requires at least one child element to be selected.
bool IsSelectionRequired { get; }
Property Value
Remarks
Windows |
ISelectionProvider.IsSelectionRequired
|
macOS | No mapping. |
Methods
GetSelection()
Retrieves a provider for each child element that is selected.
IReadOnlyList<AutomationPeer> GetSelection()
Returns
Remarks
Windows |
ISelectionProvider.GetSelection
|
macOS |
NSAccessibilityProtocol.accessibilitySelectedChildren (not implemented).
|