Partilhar via


ContextMenuButton.OnCreateAutomationPeer Method

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

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 OnCreateAutomationPeer As AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
protected:
virtual AutomationPeer^ OnCreateAutomationPeer() override
protected override function OnCreateAutomationPeer() : AutomationPeer

Return Value

The type-specific AutomationPeer implementation.

See Also

ContextMenuButton Class

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