ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate) Method

정의

ContentTemplate 속성이 변경되면 호출됩니다.Called when the ContentTemplate property 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.

적용 대상