OnTemplateChanged Method

Page.OnTemplateChanged Method (ControlTemplate, ControlTemplate)

 

Called when the template for a Page changes.

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

protected virtual void OnTemplateChanged(
	ControlTemplate oldTemplate,
	ControlTemplate newTemplate
)

Parameters

oldTemplate
Type: System.Windows.Controls.ControlTemplate

The old template.

newTemplate
Type: System.Windows.Controls.ControlTemplate

The new template.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft