DataGridCell.OnCreateAutomationPeer Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: