Freigeben über


HeaderedContentControl.OnHeaderTemplateSelectorChanged Methode

Definition

Wird aufgerufen, wenn sich die HeaderTemplateSelector-Eigenschaft ändert.

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)

Parameter

oldHeaderTemplateSelector
DataTemplateSelector

Alter Wert der HeaderTemplateSelector-Eigenschaft.

newHeaderTemplateSelector
DataTemplateSelector

Neuer Wert der HeaderTemplateSelector-Eigenschaft.

Gilt für: