ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) Método

Definición

Se invoca cuando cambia ContentTemplate.

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)

Parámetros

oldTemplate
DataTemplate

El antiguo valor del objeto DataTemplate.

newTemplate
DataTemplate

El nuevo valor del objeto DataTemplate.

Se aplica a