Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RibbonButton.OnCreateAutomationPeer Method ()

.NET Framework (current version)

Creates a new RibbonButtonAutomationPeer 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
© 2017 Microsoft