RibbonMenuItemDataAutomationPeer.GetAutomationControlTypeCore Method

Definition

Gets the control type for the RibbonMenuItem that is associated with this RibbonMenuItemDataAutomationPeer. This method is called by GetAutomationControlType().

protected:
 override System::Windows::Automation::Peers::AutomationControlType GetAutomationControlTypeCore();
protected override System.Windows.Automation.Peers.AutomationControlType GetAutomationControlTypeCore ();
override this.GetAutomationControlTypeCore : unit -> System.Windows.Automation.Peers.AutomationControlType
Protected Overrides Function GetAutomationControlTypeCore () As AutomationControlType

Returns

The MenuItem enumeration value.

Applies to