Table of Contents

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

bool

Remarks

Windows ISelectionProvider.CanSelectMultiple
macOSNo 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

bool

Remarks

Windows ISelectionProvider.IsSelectionRequired
macOSNo mapping.

Methods

GetSelection()

Retrieves a provider for each child element that is selected.

public IReadOnlyList<AutomationPeer> GetSelection()

Returns

IReadOnlyList<AutomationPeer>

Remarks

Windows ISelectionProvider.GetSelection
macOS NSAccessibilityProtocol.accessibilitySelectedChildren (not implemented).

GetSelectionCore()

protected virtual IReadOnlyList<AutomationPeer>? GetSelectionCore()

Returns

IReadOnlyList<AutomationPeer>

GetSelectionModeCore()

protected virtual SelectionMode GetSelectionModeCore()

Returns

SelectionMode

OwnerPropertyChanged(object?, AvaloniaPropertyChangedEventArgs)

protected virtual void OwnerPropertyChanged(object? sender, AvaloniaPropertyChangedEventArgs e)

Parameters

sender object
e AvaloniaPropertyChangedEventArgs

OwnerSelectionChanged(object?, SelectionModelSelectionChangedEventArgs)

protected virtual void OwnerSelectionChanged(object? sender, SelectionModelSelectionChangedEventArgs e)

Parameters

sender object
e SelectionModelSelectionChangedEventArgs