Class SelectingItemsControlAutomationPeer
- Namespace
- Avalonia.Automation.Peers
- Assembly
- Avalonia.Controls.dll
public abstract class SelectingItemsControlAutomationPeer : ItemsControlAutomationPeer, IScrollProvider, ISelectionProvider
- Inheritance
-
SelectingItemsControlAutomationPeer
- Implements
- Derived
- Inherited Members
Constructors
SelectingItemsControlAutomationPeer(SelectingItemsControl)
protected SelectingItemsControlAutomationPeer(SelectingItemsControl owner)
Parameters
owner
SelectingItemsControl
Properties
CanSelectMultiple
Gets a value that indicates whether the provider allows more than one child element to be selected concurrently.
public 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.
public bool IsSelectionRequired { get; }
Property Value
Remarks
Windows |
ISelectionProvider.IsSelectionRequired
|
macOS | No mapping. |
Methods
GetSelection()
Retrieves a provider for each child element that is selected.
public IReadOnlyList<AutomationPeer> GetSelection()
Returns
Remarks
Windows |
ISelectionProvider.GetSelection
|
macOS |
NSAccessibilityProtocol.accessibilitySelectedChildren (not implemented).
|
GetSelectionCore()
protected virtual IReadOnlyList<AutomationPeer>? GetSelectionCore()
Returns
GetSelectionModeCore()
protected virtual SelectionMode GetSelectionModeCore()
Returns
OwnerPropertyChanged(object?, AvaloniaPropertyChangedEventArgs)
protected virtual void OwnerPropertyChanged(object? sender, AvaloniaPropertyChangedEventArgs e)
Parameters
sender
objecte
AvaloniaPropertyChangedEventArgs
OwnerSelectionChanged(object?, SelectionModelSelectionChangedEventArgs)
protected virtual void OwnerSelectionChanged(object? sender, SelectionModelSelectionChangedEventArgs e)