Partilhar via


ItemsControl.OnItemTemplateSelectorChanged Método

Definição

Invocado quando o valor da propriedade ItemTemplateSelector é alterado.

void OnItemTemplateSelectorChanged(DataTemplateSelector const& oldItemTemplateSelector, DataTemplateSelector const& newItemTemplateSelector);
protected virtual void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector);
function onItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector)
Protected Overridable Sub OnItemTemplateSelectorChanged (oldItemTemplateSelector As DataTemplateSelector, newItemTemplateSelector As DataTemplateSelector)

Parâmetros

oldItemTemplateSelector
DataTemplateSelector

O valor anterior da propriedade ItemTemplateSelector .

newItemTemplateSelector
DataTemplateSelector

O valor atual da propriedade ItemTemplateSelector .

Aplica-se a