Freigeben über


RibbonMenuButtonAutomationPeer.GetAutomationControlTypeCore-Methode

Ruft den Steuerelementtyp für die RibbonMenuButton-Klasse ab, die dieser RibbonMenuButtonAutomationPeer-Klasse zugeordnet ist. Diese Methode wird von GetAutomationControlType aufgerufen.

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

Rückgabewert

Typ: System.Windows.Automation.Peers.AutomationControlType
Der Menu-Enumerationswert.

.NET Framework-Sicherheit

Siehe auch

Referenz

RibbonMenuButtonAutomationPeer Klasse

Microsoft.Windows.Automation.Peers-Namespace