RibbonMenuButtonAutomationPeer.GetAutomationControlTypeCore Method

Definition

Gets the control type for the RibbonMenuButton that is associated with this RibbonMenuButtonAutomationPeer. 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 MenuBar enumeration value.

Applies to