Compartir a través de


ItemsControl.OnItemsPanelChanged Método

Definición

Se invoca cuando cambia la propiedad 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)

Parámetros

oldItemsPanel
ItemsPanelTemplate

Valor anterior de la propiedad ItemsPanel.

newItemsPanel
ItemsPanelTemplate

Valor nuevo de la propiedad ItemsPanel.

Se aplica a