RibbonMenuItem.OnCreateAutomationPeer Method

.NET Framework 4.5

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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft