DataGrid::OnCreateAutomationPeer Method ()

 

Returns the automation peer for this DataGrid.

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

protected:
virtual AutomationPeer^ OnCreateAutomationPeer() override

Return Value

Type: System.Windows.Automation.Peers::AutomationPeer^

The automation peer for this DataGrid.

The DataGridAutomationPeer exposes the DataGrid to UI automation.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: