Partager via


HeaderedContentControl.OnHeaderTemplateSelectorChanged Méthode

Définition

Appelé quand la propriété HeaderTemplateSelector change.

protected:
 virtual void OnHeaderTemplateSelectorChanged(System::Windows::Controls::DataTemplateSelector ^ oldHeaderTemplateSelector, System::Windows::Controls::DataTemplateSelector ^ newHeaderTemplateSelector);
protected virtual void OnHeaderTemplateSelectorChanged (System.Windows.Controls.DataTemplateSelector oldHeaderTemplateSelector, System.Windows.Controls.DataTemplateSelector newHeaderTemplateSelector);
abstract member OnHeaderTemplateSelectorChanged : System.Windows.Controls.DataTemplateSelector * System.Windows.Controls.DataTemplateSelector -> unit
override this.OnHeaderTemplateSelectorChanged : System.Windows.Controls.DataTemplateSelector * System.Windows.Controls.DataTemplateSelector -> unit
Protected Overridable Sub OnHeaderTemplateSelectorChanged (oldHeaderTemplateSelector As DataTemplateSelector, newHeaderTemplateSelector As DataTemplateSelector)

Paramètres

oldHeaderTemplateSelector
DataTemplateSelector

Ancienne valeur de la propriété HeaderTemplateSelector.

newHeaderTemplateSelector
DataTemplateSelector

Nouvelle valeur de la propriété HeaderTemplateSelector.

S’applique à