TreeViewItemDataAutomationPeer(Object, TreeViewListAutomationPeer) 构造函数

定义

初始化 TreeViewItemDataAutomationPeer 类的新实例。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

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

参数

item
Object

IInspectable

TreeViewItem

parent
TreeViewListAutomationPeer

要为其创建对等的 TreeViewList 父控件实例。

适用于