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 Overrides Sub OnTemplateChanged (
	oldTemplate As ControlTemplate,
	newTemplate As ControlTemplate
)

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: