VirtualizingPanelOnItemsChanged Method

Called when the Items collection of the owner ItemsControl changes.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected virtual void OnItemsChanged(
	IReadOnlyList<Object?> items,
	NotifyCollectionChangedEventArgs e
)

Parameters

items  IReadOnlyListObject
The items.
e  NotifyCollectionChangedEventArgs
The event args.

Remarks

This method is called a INotifyCollectionChanged event is raised by the items, or when the Items property is assigned a new collection, in which case the NotifyCollectionChangedAction will be Reset.

See Also