Compartilhar via


HeaderedContentControl.OnHeaderTemplateChanged Método

Definição

Chamado quando a propriedade HeaderTemplate é alterada.

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)

Parâmetros

oldHeaderTemplate
DataTemplate

Valor antigo da propriedade HeaderTemplate.

newHeaderTemplate
DataTemplate

Novo valor da propriedade HeaderTemplate.

Aplica-se a