TextBoxBase::OnTemplateChanged Method (ControlTemplate^, ControlTemplate^)
.NET Framework (current version)
Is called when the control template changes.
Assembly: PresentationFramework (in PresentationFramework.dll)
protected: virtual void OnTemplateChanged( ControlTemplate^ oldTemplate, ControlTemplate^ newTemplate ) override
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.
Overrides OnTemplateChanged.
.NET Framework
Available since 3.0
Available since 3.0
Show: