DataGridRow::OnTemplateChanged Method (ControlTemplate^, ControlTemplate^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Called whenever the control's template changes.

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

protected:
virtual void OnTemplateChanged(
	ControlTemplate^ oldTemplate,
	ControlTemplate^ newTemplate
) override

Parameters

oldTemplate
Type: System.Windows.Controls::ControlTemplate^

The old template.

newTemplate
Type: System.Windows.Controls::ControlTemplate^

The new template.

.NET Framework
Available since 4.0
Return to top
Show: