List​View​Item​Data​Automation​Peer List​View​Item​Data​Automation​Peer List​View​Item​Data​Automation​Peer 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
Inheritance
Attributes
Windows 10 requirements
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.

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)

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)
Parameters
item
PlatForm::Object Object Object

The specific data item.

parent
ListViewBaseAutomationPeer ListViewBaseAutomationPeer ListViewBaseAutomationPeer

The automation peer for the ListViewBase derived type that contains the item.

Attributes

Methods

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
Attributes

See Also