다음을 통해 공유


ItemsControl.OnItemTemplateSelectorChanged 메서드

정의

ItemTemplateSelector 속성이 변경될 때 호출됩니다.

protected:
 virtual void OnItemTemplateSelectorChanged(System::Windows::Controls::DataTemplateSelector ^ oldItemTemplateSelector, System::Windows::Controls::DataTemplateSelector ^ newItemTemplateSelector);
protected virtual void OnItemTemplateSelectorChanged (System.Windows.Controls.DataTemplateSelector oldItemTemplateSelector, System.Windows.Controls.DataTemplateSelector newItemTemplateSelector);
abstract member OnItemTemplateSelectorChanged : System.Windows.Controls.DataTemplateSelector * System.Windows.Controls.DataTemplateSelector -> unit
override this.OnItemTemplateSelectorChanged : System.Windows.Controls.DataTemplateSelector * System.Windows.Controls.DataTemplateSelector -> unit
Protected Overridable Sub OnItemTemplateSelectorChanged (oldItemTemplateSelector As DataTemplateSelector, newItemTemplateSelector As DataTemplateSelector)

매개 변수

oldItemTemplateSelector
DataTemplateSelector

ItemTemplateSelector 속성의 이전 값입니다.

newItemTemplateSelector
DataTemplateSelector

ItemTemplateSelector 속성의 새 값입니다.

적용 대상