TreeViewDataItemAutomationPeer Constructor

Definition

Initializes a new instance of the TreeViewDataItemAutomationPeer class.

C#
public TreeViewDataItemAutomationPeer(object item, System.Windows.Automation.Peers.ItemsControlAutomationPeer itemsControlAutomationPeer, System.Windows.Automation.Peers.TreeViewDataItemAutomationPeer parentDataItemAutomationPeer);

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

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10