Bagikan melalui


ContentPresenter.OnContentTemplateChanged(DataTemplate, DataTemplate) Metode

Definisi

Dipanggil saat nilai properti ContentTemplate berubah.

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)

Parameter

oldContentTemplate
DataTemplate

Nilai lama properti ContentTemplate .

newContentTemplate
DataTemplate

Nilai baru properti ContentTemplate .

Berlaku untuk