OnCreateAutomationPeer Method

DataGridCell.OnCreateAutomationPeer Method ()

.NET Framework 4.6 and 4.5

Returns the automation peer for this DataGridCell.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override AutomationPeer OnCreateAutomationPeer()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer

The automation peer for this DataGridCell.

The DataGridCellAutomationPeer exposes the DataGrid to UI Automation.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft