OnCreateAutomationPeer Method

RibbonMenuItem.OnCreateAutomationPeer Method ()

.NET Framework (current version)
 

Creates a new RibbonMenuItemAutomationPeer object for this control.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override AutomationPeer OnCreateAutomationPeer()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer

A new automation peer object for this control.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft