Skip to main content

ISelectionItemProvider Interface

Exposes methods and properties to support access by a UI Automation client to individual, selectable child controls of containers that implement ISelectionProvider.

Definition​

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

public interface ISelectionItemProvider
View Source

Properties​

IsSelectedGets a value that indicates whether an item is selected.
SelectionContainerGets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.

Methods​

AddToSelection()Adds the current element to the collection of selected items.
RemoveFromSelection()Removes the current element from the collection of selected items.
Select()Clears any existing selection and then selects the current element.

See Also​

Reference​

Avalonia.Automation.Provider Namespace