Dela via


RibbonMenuItemAutomationPeer.GetAutomationControlTypeCore Method

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

.NET Framework Security

See Also

Reference

RibbonMenuItemAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace