Compartir vía


ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) Método

Definición

Se le llama cuando cambia la propiedad ContentTemplate.

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

Parámetros

oldContentTemplate
DataTemplate

Valor antiguo de la propiedad ContentTemplate.

newContentTemplate
DataTemplate

Nuevo valor de la propiedad ContentTemplate .

Se aplica a