TreeViewItemDataAutomationPeer(Object, TreeViewListAutomationPeer) Constructor

Definition

Initializes a new instance of the TreeViewItemDataAutomationPeer class.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

 TreeViewItemDataAutomationPeer(IInspectable const& item, TreeViewListAutomationPeer const& parent);
public TreeViewItemDataAutomationPeer(object item, TreeViewListAutomationPeer parent);
Public Sub New (item As Object, parent As TreeViewListAutomationPeer)

Parameters

item
Object

IInspectable

The TreeViewItem.

parent
TreeViewListAutomationPeer

The TreeViewList parent control instance for which to create the peer.

Applies to