OnTemplateChanged Method
TOC
Collapse the table of content
Expand the table of content

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

.NET Framework (current version)
 

Called whenever the template of the DataGrid 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:
© 2016 Microsoft