ContentPresenter.OnContentTemplateChanged(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 ContentTemplate property changes.
void OnContentTemplateChanged(DataTemplate const& oldContentTemplate, DataTemplate const& newContentTemplate);
protected virtual void OnContentTemplateChanged(DataTemplate oldContentTemplate, DataTemplate newContentTemplate);
function onContentTemplateChanged(oldContentTemplate, newContentTemplate)
Protected Overridable Sub OnContentTemplateChanged (oldContentTemplate As DataTemplate, newContentTemplate As DataTemplate)
Parameters
- oldContentTemplate
- DataTemplate
The old value of the ContentTemplate property.
- newContentTemplate
- DataTemplate
The new value of the ContentTemplate property.