ItemsControl.OnItemTemplateSelectorChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.