ContentPresenter.OnContentTemplateChanged(DataTemplate, DataTemplate) ContentPresenter.OnContentTemplateChanged(DataTemplate, DataTemplate) ContentPresenter.OnContentTemplateChanged(DataTemplate, DataTemplate) ContentPresenter.OnContentTemplateChanged(DataTemplate, DataTemplate) Method

定義

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

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)

パラメーター

oldContentTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

ContentTemplate プロパティの変更前の値。The old value of the ContentTemplate property.

newContentTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

ContentTemplate プロパティの新しい値。The new value of the ContentTemplate property.

適用対象