ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) 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 ItemTemplate property changes.
void OnItemTemplateChanged(DataTemplate const& oldItemTemplate, DataTemplate const& newItemTemplate);
protected virtual void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate);
function onItemTemplateChanged(oldItemTemplate, newItemTemplate)
Protected Overridable Sub OnItemTemplateChanged (oldItemTemplate As DataTemplate, newItemTemplate As DataTemplate)
Parameters
- oldItemTemplate
- DataTemplate
The previous value of the ItemTemplate property.
- newItemTemplate
- DataTemplate
The current value of the ItemTemplate property.