Share via


TreeViewItemAutomationPeer(TreeViewItem) Constructor

Definition

Initializes a new instance of the TreeViewItemAutomationPeer class.

Equivalent WinUI 2 API for UWP: TreeViewItemAutomationPeer(TreeViewItem) Constructor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

 TreeViewItemAutomationPeer(TreeViewItem const& owner);
public TreeViewItemAutomationPeer(TreeViewItem owner);
function TreeViewItemAutomationPeer(owner)
Public Sub New (owner As TreeViewItem)

Parameters

owner
TreeViewItem

The TreeViewItem control instance to create the peer for.

Applies to