Partilhar via


TabItem.OnContentTemplateSelectorChanged Método

Definição

Chamado quando a propriedade ContentTemplateSelector é alterada.

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)

Parâmetros

oldContentTemplateSelector
DataTemplateSelector

O valor antigo do seletor do modelo de conteúdo.

newContentTemplateSelector
DataTemplateSelector

O novo valor do seletor do modelo de conteúdo.

Aplica-se a