HeaderedItemsControl.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

The old value of the HeaderTemplate property.

newHeaderTemplate
DataTemplate

The new value of the HeaderTemplate property.

Applies to