ItemsControl.OnItemTemplateSelectorChanged Метод

Определение

Вызывается при изменении значения свойства 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)

Параметры

oldItemTemplateSelector
DataTemplateSelector

Предыдущее значение свойства ItemTemplateSelector .

newItemTemplateSelector
DataTemplateSelector

Текущее значение свойства ItemTemplateSelector .

Применяется к