OnCreateAutomationPeer Method
TOC
Collapse the table of content
Expand the table of content

DataGrid.OnCreateAutomationPeer Method ()

 

Returns the automation peer for this DataGrid.

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

override OnCreateAutomationPeer : unit -> AutomationPeer

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:
© 2016 Microsoft