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 4.5

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

Supported in: 4.6

© 2014 Microsoft