TreeViewDataItemAutomationPeer Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.