Class ListItemAutomationPeer
- Namespace
- Avalonia.Automation.Peers
- Assembly
- Avalonia.Controls.dll
public class ListItemAutomationPeer : ContentControlAutomationPeer, ISelectionItemProvider
- Inheritance
-
ListItemAutomationPeer
- Implements
- Inherited Members
Constructors
ListItemAutomationPeer(ContentControl)
public ListItemAutomationPeer(ContentControl owner)
Parameters
owner
ContentControl
Properties
IsSelected
Gets a value that indicates whether an item is selected.
public bool IsSelected { get; }
Property Value
Remarks
Windows |
ISelectionItemProvider.IsSelected
|
macOS |
NSAccessibilityProtocol.isAccessibilitySelected
|
SelectionContainer
Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.
public ISelectionProvider? SelectionContainer { get; }
Property Value
Remarks
Windows |
ISelectionItemProvider.SelectionContainer
|
macOS | No mapping. |
Methods
GetAutomationControlTypeCore()
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
IsContentElementCore()
protected override bool IsContentElementCore()
Returns
IsControlElementCore()
protected override bool IsControlElementCore()
Returns
Select()
Clears any existing selection and then selects the current element.
public void Select()
Remarks
Windows |
ISelectionItemProvider.Select
|
macOS | No mapping. |