Partilhar via


ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) Método

Definição

Chamado quando a propriedade ContentTemplate é alterada.

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

O valor antigo da propriedade ContentTemplate.

newContentTemplate
DataTemplate

O novo valor da propriedade ContentTemplate.

Aplica-se a