Compartir a través de


ItemsControl.OnItemTemplateSelectorChanged Método

Definición

Se invoca cuando cambia el valor de la propiedad ItemTemplateSelector .

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

Valor anterior de la propiedad ItemTemplateSelector .

newItemTemplateSelector
DataTemplateSelector

Valor actual de la propiedad ItemTemplateSelector .

Se aplica a