Dela via


RibbonMenuButtonAutomationPeer.GetAutomationControlTypeCore Method

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

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Function GetAutomationControlTypeCore As AutomationControlType
protected override AutomationControlType GetAutomationControlTypeCore()
protected:
virtual AutomationControlType GetAutomationControlTypeCore() override
abstract GetAutomationControlTypeCore : unit -> AutomationControlType 
override GetAutomationControlTypeCore : unit -> AutomationControlType 
protected override function GetAutomationControlTypeCore() : AutomationControlType

Return Value

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

.NET Framework Security

See Also

Reference

RibbonMenuButtonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace