ItemsControl.OnItemsPanelChanged Yöntem

Tanım

Özellik değiştiğinde ItemsPanel çağrılır.

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)

Parametreler

oldItemsPanel
ItemsPanelTemplate

Özelliğinin ItemsPanel eski değeri.

newItemsPanel
ItemsPanelTemplate

özelliğinin ItemsPanel yeni değeri.

Şunlara uygulanır