Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetAutomationControlTypeCore Method

RibbonMenuItemDataAutomationPeer.GetAutomationControlTypeCore Method

.NET Framework 4.6 and 4.5

Gets the control type for the RibbonMenuItem that is associated with this RibbonMenuItemDataAutomationPeer. 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 MenuItem enumeration value.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft