TextBoxBase.OnTemplateChanged Method (ControlTemplate, ControlTemplate)

 

Is called when the control template changes.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

override OnTemplateChanged : 
        oldTemplate:ControlTemplate *
        newTemplate:ControlTemplate -> unit

Parameters

oldTemplate
Type: System.Windows.Controls.ControlTemplate

A ControlTemplate object that specifies the control template that is currently active.

newTemplate
Type: System.Windows.Controls.ControlTemplate

A ControlTemplate object that specifies a new control template to use.

.NET Framework
Available since 3.0
Return to top
Show: