List​View​Item​Automation​Peer List​View​Item​Automation​Peer List​View​Item​Automation​Peer Class

Definition

Exposes a ListViewItem to Microsoft UI Automation.

public class ListViewItemAutomationPeer : FrameworkElementAutomationPeer, IListViewItemAutomationPeerpublic class ListViewItemAutomationPeer : FrameworkElementAutomationPeer, IListViewItemAutomationPeerPublic Class ListViewItemAutomationPeer Inherits FrameworkElementAutomationPeer Implements IListViewItemAutomationPeer
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

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

Remarks

The Windows Runtime ListViewItem class creates a new ListViewItemAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ListViewItemAutomationPeer if you are deriving a custom class from ListViewItem 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 ListViewItemAutomationPeer

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

Constructors

ListViewItemAutomationPeer(ListViewItem) ListViewItemAutomationPeer(ListViewItem) ListViewItemAutomationPeer(ListViewItem)

Initializes a new instance of the ListViewItemAutomationPeer class.

public ListViewItemAutomationPeer(ListViewItem owner)public ListViewItemAutomationPeer(ListViewItem owner)Public Sub New(owner As ListViewItem)
Parameters
owner
ListViewItem ListViewItem ListViewItem

The ListViewItem to create a peer for.

Attributes

See Also