Share via


RibbonGalleryItemDataAutomationPeer.GetAutomationControlTypeCore Method

Gets the control type for the RibbonGalleryItem that is associated with this RibbonGalleryItemDataAutomationPeer. 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 ListItem enumeration value.

.NET Framework Security

See Also

Reference

RibbonGalleryItemDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace