編輯

共用方式為


DataGridColumnHeader.OnCreateAutomationPeer Method

Definition

Returns a new DataGridColumnHeaderAutomationPeer for this column header.

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

A new automation peer for this column header.

Applies to

See also