-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Automation.Peers.ListViewItemDataAutomationPeer |
winrt class |
Exposes ListView items to Microsoft UI Automation, using a data representation of the item so that the peer supports scrolling to that item with data awareness.
ListViewItemDataAutomationPeer is generated from ListViewAutomationPeer logic, not an associated control class.
ListViewItemDataAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetPattern reports that the peer supports PatternInterface.ScrollItem (IScrollItemProvider). The base SelectorItemAutomationPeer supports PatternInterface.SelectionItem (ISelectionItemProvider) and the base ItemAutomationPeer supports PatternInterface.VirtualizedItem (IVirtualizedItemProvider).
- GetClassName returns "ListViewItem".
- GetAutomationControlType returns AutomationControlType.ListItem.
The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.
ListViewItemAutomationPeer, SelectorItemAutomationPeer, ListView, IVirtualizedItemProvider, ISelectionItemProvider, IScrollItemProvider, Custom automation peers