Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataGridItemAutomationPeer Constructor

DataGridItemAutomationPeer Constructor

.NET Framework 4.6 and 4.5

Initializes a new instance of the DataGridItemAutomationPeer class.

Namespace:  System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

public DataGridItemAutomationPeer(
	Object item,
	DataGridAutomationPeer dataGridPeer


Type: System.Object

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

Type: System.Windows.Automation.Peers.DataGridAutomationPeer

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft