Share via


ElementModelContainer.OnApplyTemplate Method

Applies the control's template.

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

Syntax

'Declaration
Public Overrides Sub OnApplyTemplate
public override void OnApplyTemplate()
public:
virtual void OnApplyTemplate() override
public override function OnApplyTemplate()

Remarks

Locates the Title control in the template and monitors the MouseDoubleClick event to toggle the contained IsExpanded property.

See Also

ElementModelContainer Class

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