ItemsControl.OnItemsPanelChanged(ItemsPanelTemplate, ItemsPanelTemplate) Метод

Определение

Вызывается при изменении свойства ItemsPanel .Invoked when the ItemsPanel property changes.

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 .Old value of the ItemsPanel property.

newItemsPanel
ItemsPanelTemplate

Новое значение свойства ItemsPanel.New value of the ItemsPanel property.

Применяется к