ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) Metoda

Definice

Vyvolá se při změnách 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)

Parametry

oldTemplate
DataTemplate

Stará DataTemplate hodnota objektu.

newTemplate
DataTemplate

Hodnota nového DataTemplate objektu.

Platí pro