ElementModelContainer.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
Returns a new instance of ElementModelContainerAutomationPeer.
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls Namespace