ListViewAutomationPeer ListViewAutomationPeer ListViewAutomationPeer ListViewAutomationPeer Class


Exposes ListView types to Microsoft UI Automation.

public : class ListViewAutomationPeer : ListViewBaseAutomationPeer, IListViewAutomationPeerpublic class ListViewAutomationPeer : ListViewBaseAutomationPeer, IListViewAutomationPeerPublic Class ListViewAutomationPeer Inherits ListViewBaseAutomationPeer Implements IListViewAutomationPeer// This API is not available in Javascript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited methods


The Windows Runtime ListView class creates a new ListViewAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ListViewAutomationPeer if you are deriving a custom class from ListView and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.

Default peer implementation and overrides in ListViewAutomationPeer

ListViewAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

The API that supports the control patterns is all on ListViewBaseAutomationPeer, SelectorAutomationPeer or ItemsControlAutomationPeer.


ListViewAutomationPeer(ListView) ListViewAutomationPeer(ListView) ListViewAutomationPeer(ListView) ListViewAutomationPeer(ListView)

Initializes a new instance of the ListViewAutomationPeer class.

public : ListViewAutomationPeer(ListView owner)public ListViewAutomationPeer(ListView owner)Public Sub New(owner As ListView)// This API is not available in Javascript.
ListView ListView ListView ListView

The ListView to create a peer for.

See Also