DataGridCell.OnCreateAutomationPeer DataGridCell.OnCreateAutomationPeer DataGridCell.OnCreateAutomationPeer DataGridCell.OnCreateAutomationPeer Method

Definition

Returns the automation peer for this DataGridCell.

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

Remarks

The DataGridCellAutomationPeer exposes the DataGrid to UI Automation.

Applies to