ContextMenu.OnCreateAutomationPeer Método

Definição

Cria e retorna um objeto ContextMenuAutomationPeer para este 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

Retornos

AutomationPeer

Um objeto ContextMenuAutomationPeer para este ContextMenu.

Aplica-se a