OnTemplateChanged Method

ContentPresenter.OnTemplateChanged Method (DataTemplate, DataTemplate)

 

Invoked when the ContentTemplate changes

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

protected virtual void OnTemplateChanged(
	DataTemplate oldTemplate,
	DataTemplate newTemplate
)

Parameters

oldTemplate
Type: System.Windows.DataTemplate

The old DataTemplate object value.

newTemplate
Type: System.Windows.DataTemplate

The new DataTemplate object value.

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