RibbonApplicationMenu.OnCreateAutomationPeer Metod

Definition

Skapar ett nytt RibbonApplicationMenuAutomationPeer objekt för den här kontrollen.

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

Returer

Ett nytt peer-objekt för automatisering för den här kontrollen.

Gäller för