Bewerken

Delen via


HeaderedContentControl.OnHeaderTemplateChanged 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

Old value of the HeaderTemplate property.

newHeaderTemplate
DataTemplate

New value of the HeaderTemplate property.

Applies to