Share via


ContextMenuButtonAutomationPeer.GetAutomationControlTypeCore Method

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Protected Overrides Function GetAutomationControlTypeCore As AutomationControlType
protected override AutomationControlType GetAutomationControlTypeCore()
protected:
virtual AutomationControlType GetAutomationControlTypeCore() override
protected override function GetAutomationControlTypeCore() : AutomationControlType

Return Value

The Custom enumeration value.

See Also

ContextMenuButtonAutomationPeer Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls Namespace