HeaderedContentControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate) HeaderedContentControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate) HeaderedContentControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate) HeaderedContentControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate) Method

Definition

Called when the HeaderTemplate property changes.

protected:
 virtual void OnHeaderTemplateChanged(System::Windows::DataTemplate ^ oldHeaderTemplate, System::Windows::DataTemplate ^ newHeaderTemplate);
protected virtual void OnHeaderTemplateChanged (System.Windows.DataTemplate oldHeaderTemplate, System.Windows.DataTemplate newHeaderTemplate);
abstract member OnHeaderTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
override this.OnHeaderTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
Protected Overridable Sub OnHeaderTemplateChanged (oldHeaderTemplate As DataTemplate, newHeaderTemplate As DataTemplate)

Parameters

oldHeaderTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

Old value of the HeaderTemplate property.

newHeaderTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

New value of the HeaderTemplate property.

Applies to