ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) Method

Definition

Invoked when the value of the ItemTemplate property changes.

protected : virtual void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate)
virtual void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate) const;
protected virtual void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate)
Protected Overridable Sub OnItemTemplateChanged(oldItemTemplate As DataTemplate, newItemTemplate As DataTemplate)

Parameters

oldItemTemplate
DataTemplate DataTemplate

The previous value of the ItemTemplate property.

newItemTemplate
DataTemplate DataTemplate

The current value of the ItemTemplate property.