TabItem.OnContentTemplateSelectorChanged Метод

Определение

Вызывается при изменении свойства ContentTemplateSelector.

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)

Параметры

oldContentTemplateSelector
DataTemplateSelector

Старое значение выбора шаблона содержимого.

newContentTemplateSelector
DataTemplateSelector

Новое значение выбора шаблона содержимого.

Применяется к