Bewerken

Delen via


VirtualizingStackPanel.OnItemsChanged(Object, ItemsChangedEventArgs) Method

Definition

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

protected:
 override void OnItemsChanged(System::Object ^ sender, System::Windows::Controls::Primitives::ItemsChangedEventArgs ^ args);
protected override void OnItemsChanged (object sender, System.Windows.Controls.Primitives.ItemsChangedEventArgs args);
override this.OnItemsChanged : obj * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> unit
Protected Overrides Sub OnItemsChanged (sender As Object, args As ItemsChangedEventArgs)

Parameters

sender
Object

The Object that raised the event.

args
ItemsChangedEventArgs

Provides data for the ItemsChanged event.

Applies to