แก้ไข

แชร์ผ่าน


HeaderedItemsControl.OnHeaderTemplateSelectorChanged Method

Definition

Called when the HeaderTemplateSelector property changes.

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)

Parameters

oldHeaderTemplateSelector
DataTemplateSelector

The old value of the HeaderTemplateSelector property.

newHeaderTemplateSelector
DataTemplateSelector

The new value of the HeaderTemplateSelector property.

Applies to