ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) ContentPresenter.OnTemplateChanged(DataTemplate, DataTemplate) Method

定義

ContentTemplate が変更されると呼び出されます。Invoked when the ContentTemplate changes

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)

パラメーター

oldTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

変更前の DataTemplate オブジェクト値。The old DataTemplate object value.

newTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

変更後の DataTemplate オブジェクト値。The new DataTemplate object value.

適用対象