Udostępnij za pośrednictwem


TabItem.OnContentTemplateSelectorChanged Metoda

Definicja

Wywoływana ContentTemplateSelector , gdy właściwość ulegnie zmianie.

protected:
 override void OnContentTemplateSelectorChanged(System::Windows::Controls::DataTemplateSelector ^ oldContentTemplateSelector, System::Windows::Controls::DataTemplateSelector ^ newContentTemplateSelector);
protected override void OnContentTemplateSelectorChanged (System.Windows.Controls.DataTemplateSelector oldContentTemplateSelector, System.Windows.Controls.DataTemplateSelector newContentTemplateSelector);
override this.OnContentTemplateSelectorChanged : System.Windows.Controls.DataTemplateSelector * System.Windows.Controls.DataTemplateSelector -> unit
Protected Overrides Sub OnContentTemplateSelectorChanged (oldContentTemplateSelector As DataTemplateSelector, newContentTemplateSelector As DataTemplateSelector)

Parametry

oldContentTemplateSelector
DataTemplateSelector

Stara wartość selektora szablonu zawartości.

newContentTemplateSelector
DataTemplateSelector

Nowa wartość selektora szablonu zawartości.

Dotyczy