DataGridItemAutomationPeer(Object, DataGridAutomationPeer) Constructor

Definition

Initializes a new instance of the DataGridItemAutomationPeer class.

public:
 DataGridItemAutomationPeer(System::Object ^ item, System::Windows::Automation::Peers::DataGridAutomationPeer ^ dataGridPeer);
public DataGridItemAutomationPeer (object item, System.Windows.Automation.Peers.DataGridAutomationPeer dataGridPeer);
new System.Windows.Automation.Peers.DataGridItemAutomationPeer : obj * System.Windows.Automation.Peers.DataGridAutomationPeer -> System.Windows.Automation.Peers.DataGridItemAutomationPeer
Public Sub New (item As Object, dataGridPeer As DataGridAutomationPeer)

Parameters

item
Object

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

dataGridPeer
DataGridAutomationPeer

The DataGridAutomationPeer that is associated with the DataGrid that holds the Items collection.

Applies to