ItemsControl.OnItemTemplateSelectorChanged Method

Definition

Invoked when the value of the ItemTemplateSelector property changes.

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)

Parameters

oldItemTemplateSelector
DataTemplateSelector

The previous value of the ItemTemplateSelector property.

newItemTemplateSelector
DataTemplateSelector

The current value of the ItemTemplateSelector property.

Applies to