RibbonMenuButtonAutomationPeer.GetAutomationControlTypeCore Method

.NET Framework 4.6 and 4.5

Gets the control type for the RibbonMenuButton that is associated with this RibbonMenuButtonAutomationPeer. This method is called by GetAutomationControlType.

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

protected override AutomationControlType GetAutomationControlTypeCore()

Return Value

Type: System.Windows.Automation.Peers.AutomationControlType
The MenuBar enumeration value.

.NET Framework

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