Bearbeiten

Freigeben über


TreeViewDataItemAutomationPeer Constructor

Definition

Initializes a new instance of the TreeViewDataItemAutomationPeer class.

public:
 TreeViewDataItemAutomationPeer(System::Object ^ item, System::Windows::Automation::Peers::ItemsControlAutomationPeer ^ itemsControlAutomationPeer, System::Windows::Automation::Peers::TreeViewDataItemAutomationPeer ^ parentDataItemAutomationPeer);
public TreeViewDataItemAutomationPeer (object item, System.Windows.Automation.Peers.ItemsControlAutomationPeer itemsControlAutomationPeer, System.Windows.Automation.Peers.TreeViewDataItemAutomationPeer parentDataItemAutomationPeer);
new System.Windows.Automation.Peers.TreeViewDataItemAutomationPeer : obj * System.Windows.Automation.Peers.ItemsControlAutomationPeer * System.Windows.Automation.Peers.TreeViewDataItemAutomationPeer -> System.Windows.Automation.Peers.TreeViewDataItemAutomationPeer
Public Sub New (item As Object, itemsControlAutomationPeer As ItemsControlAutomationPeer, parentDataItemAutomationPeer As TreeViewDataItemAutomationPeer)

Parameters

item
Object

The data item in the Items collection that is associated with this TreeViewDataItemAutomationPeer.

itemsControlAutomationPeer
ItemsControlAutomationPeer

The ItemsControlAutomationPeer that is associated with the ItemsControl that holds the Items collection.

parentDataItemAutomationPeer
TreeViewDataItemAutomationPeer

The TreeViewDataItemAutomationPeer that is the parent to this TreeViewDataItemAutomationPeer.

Applies to