Compartilhar via


ContentControl.OnContentTemplateSelectorChanged Método

Definição

Chamado quando a propriedade ContentTemplateSelector é alterada.

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

Parâmetros

oldContentTemplateSelector
DataTemplateSelector

O valor antigo da propriedade ContentTemplateSelector.

newContentTemplateSelector
DataTemplateSelector

O novo valor da propriedade ContentTemplateSelector.

Aplica-se a