ISelectionItemProvider Interface
Definition
Exposes methods and properties to support access by a UI Automation client to individual, selectable child controls of containers that implement Avalonia.Automation.Provider.ISelectionProvider.
public interface ISelectionItemProvider
Methods
| Name | Description |
|---|---|
| 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. |
AddToSelection Method
Adds the current element to the collection of selected items.
public void AddToSelection()
Remarks
- Windows
ISelectionItemProvider.AddToSelection - macOS
NSAccessibilityProtocol.accessibilityPerformPick(not implemented).NSAccessibilityProtocol.setAccessibilitySelected(not implemented).
RemoveFromSelection Method
Removes the current element from the collection of selected items.
public void RemoveFromSelection()
Remarks
- Windows
ISelectionItemProvider.RemoveFromSelection - macOS
NSAccessibilityProtocol.setAccessibilitySelected(not implemented).
Select Method
Clears any existing selection and then selects the current element.
public void Select()
Remarks
- Windows
ISelectionItemProvider.Select - macOSNo mapping.
Properties
| Name | Description |
|---|---|
| IsSelected | Gets a value that indicates whether an item is selected. |
| SelectionContainer | Gets the UI Automation provider that implements Avalonia.Automation.Provider.ISelectionProvider and acts as the container for the calling object. |
IsSelected Property
Gets a value that indicates whether an item is selected.
public bool IsSelected { get; set; }
Remarks
- Windows
ISelectionItemProvider.IsSelected - macOS
NSAccessibilityProtocol.isAccessibilitySelected
SelectionContainer Property
Gets the UI Automation provider that implements Avalonia.Automation.Provider.ISelectionProvider and acts as the container for the calling object.
public Avalonia.Automation.Provider.ISelectionProvider SelectionContainer { get; set; }
Remarks
- Windows
ISelectionItemProvider.SelectionContainer - macOSNo mapping.