다음을 통해 공유


ItemsControl.OnItemsPanelChanged 메서드

정의

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

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

매개 변수

oldItemsPanel
ItemsPanelTemplate

ItemsPanel 속성의 이전 값입니다.

newItemsPanel
ItemsPanelTemplate

ItemsPanel 속성의 새 값입니다.

적용 대상