ItemsControl.OnItemsPanelChanged Method (ItemsPanelTemplate, ItemsPanelTemplate)

 

Invoked when the ItemsPanel property changes.

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

Protected Overridable Sub OnItemsPanelChanged (
	oldItemsPanel As ItemsPanelTemplate,
	newItemsPanel As ItemsPanelTemplate
)

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: