ItemsControl.OnItemsPanelChanged Method (ItemsPanelTemplate, ItemsPanelTemplate)

 

Invoked when the ItemsPanel property changes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnItemsPanelChanged(
	ItemsPanelTemplate oldItemsPanel,
	ItemsPanelTemplate newItemsPanel
)

Parameters

oldItemsPanel
Type: System.Windows.Controls.ItemsPanelTemplate

Old value of the ItemsPanel property.

newItemsPanel
Type: System.Windows.Controls.ItemsPanelTemplate

New value of the ItemsPanel property.

.NET Framework
Available since 3.0
Return to top
Show: