Bearbeiten

Freigeben über


DataGrid.OnCreateAutomationPeer Method

Definition

Returns the automation peer for this DataGrid.

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

Returns

The automation peer for this DataGrid.

Remarks

The DataGridAutomationPeer exposes the DataGrid to UI automation.

Applies to