Editar

Compartilhar via


ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) Method

Definition

Invoked when the ContentTemplate changes.

protected:
 virtual void OnTemplateChanged(System::Windows::DataTemplate ^ oldTemplate, System::Windows::DataTemplate ^ newTemplate);
protected virtual void OnTemplateChanged (System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate);
abstract member OnTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
override this.OnTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
Protected Overridable Sub OnTemplateChanged (oldTemplate As DataTemplate, newTemplate As DataTemplate)

Parameters

oldTemplate
DataTemplate

The old DataTemplate object value.

newTemplate
DataTemplate

The new DataTemplate object value.

Applies to