Comparteix a través de


TabItem.OnContentTemplateSelectorChanged Método

Definición

Se le llama cuando cambia la propiedad 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)

Parámetros

oldContentTemplateSelector
DataTemplateSelector

Valor anterior del selector de plantillas de contenido.

newContentTemplateSelector
DataTemplateSelector

Nuevo valor del selector de plantillas de contenido.

Se aplica a