This documentation is archived and is not being maintained.

VirtualizingPanel.OnItemsChanged Method

Called when the Items collection that is associated with the ItemsControl for this Panel changes.

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

'Declaration
Protected Overridable Sub OnItemsChanged ( _
	sender As Object, _
	args As ItemsChangedEventArgs _
)
'Usage
Dim sender As Object 
Dim args As ItemsChangedEventArgs 

Me.OnItemsChanged(sender, args)
You cannot use methods in XAML.

Parameters

sender
Type: System.Object

The Object that raised the event.

args
Type: System.Windows.Controls.Primitives.ItemsChangedEventArgs

Provides data for the ItemsChanged event.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: