Sdílet prostřednictvím


ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) Metoda

Definice

Volá se ContentTemplate při změně vlastnosti.

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)

Parametry

oldContentTemplate
DataTemplate

Stará hodnota ContentTemplate vlastnosti.

newContentTemplate
DataTemplate

Nová hodnota ContentTemplate vlastnosti.

Platí pro