Edytuj

Udostępnij za pośrednictwem


ContextMenu.OnCreateAutomationPeer Method

Definition

Creates and returns a ContextMenuAutomationPeer object for this ContextMenu.

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 ContextMenuAutomationPeer object for this ContextMenu.

Applies to