ListViewItemDataAutomationPeer
ListViewItemDataAutomationPeer
ListViewItemDataAutomationPeer
ListViewItemDataAutomationPeer
Class
Definition
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.
public : class ListViewItemDataAutomationPeer : SelectorItemAutomationPeer, IListViewItemDataAutomationPeer, IScrollItemProviderpublic class ListViewItemDataAutomationPeer : SelectorItemAutomationPeer, IListViewItemDataAutomationPeer, IScrollItemProviderPublic Class ListViewItemDataAutomationPeer Inherits SelectorItemAutomationPeer Implements IListViewItemDataAutomationPeer, IScrollItemProvider// This API is not available in Javascript.
- Inheritance
-
SelectorItemAutomationPeerSelectorItemAutomationPeerSelectorItemAutomationPeerSelectorItemAutomationPeerListViewItemDataAutomationPeerListViewItemDataAutomationPeerListViewItemDataAutomationPeerListViewItemDataAutomationPeer
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Remarks
ListViewItemDataAutomationPeer is generated from ListViewAutomationPeer logic, not an associated control class.
Default peer implementation and overrides in ListViewItemDataAutomationPeer
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.
Constructors
ListViewItemDataAutomationPeer(Object, ListViewBaseAutomationPeer) ListViewItemDataAutomationPeer(Object, ListViewBaseAutomationPeer) ListViewItemDataAutomationPeer(Object, ListViewBaseAutomationPeer) ListViewItemDataAutomationPeer(Object, ListViewBaseAutomationPeer)
Initializes a new instance of the ListViewItemDataAutomationPeer class.
public : ListViewItemDataAutomationPeer(PlatForm::Object item, ListViewBaseAutomationPeer parent)public ListViewItemDataAutomationPeer(Object item, ListViewBaseAutomationPeer parent)Public Sub New(item As Object, parent As ListViewBaseAutomationPeer)// This API is not available in Javascript.
- item
- PlatForm::Object Object Object Object
The specific data item.
- parent
- ListViewBaseAutomationPeer ListViewBaseAutomationPeer ListViewBaseAutomationPeer ListViewBaseAutomationPeer
The automation peer for the ListViewBase derived type that contains the item.
Methods
ScrollIntoView() ScrollIntoView() ScrollIntoView() ScrollIntoView()
Scrolls the content area of the parent container in order to display the peer's data within the visible region (viewport) of the container.
public : void ScrollIntoView()public void ScrollIntoView()Public Function ScrollIntoView() As void// This API is not available in Javascript.