Invoked before a template is applied to the control to ensure that the old template parts are properly cleared.

Namespace:  DlhSoft.Windows.Controls.Primitives
Assembly:  DlhSoft.Data.Controls (in DlhSoft.Data.Controls.dll)

Syntax

C#
protected internal virtual void ClearTemplateParts()
Visual Basic (Declaration)
Protected Friend Overridable Sub ClearTemplateParts

See Also