다음을 통해 공유


ItemsPresenter.OnTemplateChanged 메서드

정의

컨트롤 템플릿이 변경될 때 호출됩니다.

protected:
 virtual void OnTemplateChanged(System::Windows::Controls::ItemsPanelTemplate ^ oldTemplate, System::Windows::Controls::ItemsPanelTemplate ^ newTemplate);
protected virtual void OnTemplateChanged (System.Windows.Controls.ItemsPanelTemplate oldTemplate, System.Windows.Controls.ItemsPanelTemplate newTemplate);
abstract member OnTemplateChanged : System.Windows.Controls.ItemsPanelTemplate * System.Windows.Controls.ItemsPanelTemplate -> unit
override this.OnTemplateChanged : System.Windows.Controls.ItemsPanelTemplate * System.Windows.Controls.ItemsPanelTemplate -> unit
Protected Overridable Sub OnTemplateChanged (oldTemplate As ItemsPanelTemplate, newTemplate As ItemsPanelTemplate)

매개 변수

oldTemplate
ItemsPanelTemplate

이전 템플릿의 값입니다.

newTemplate
ItemsPanelTemplate

새 템플릿의 값입니다.

적용 대상