MenuItem.OnCreateAutomationPeer MenuItem.OnCreateAutomationPeer MenuItem.OnCreateAutomationPeer MenuItem.OnCreateAutomationPeer Method

Definición

Proporciona una adecuada MenuItemAutomationPeer implementación para este control, como parte de la WPFWPF infraestructura de automatización.Provides an appropriate MenuItemAutomationPeer implementation for this control, as part of the WPFWPF automation infrastructure.

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

Devoluciones

Se aplica a