ItemsSourceView.CollectionChanged Event

Definition

Occurs when the collection has changed to indicate the reason for the change and which items changed.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

// Register
event_token CollectionChanged(NotifyCollectionChangedEventHandler const& handler) const;

// Revoke with event_token
void CollectionChanged(event_token const* cookie) const;

// Revoke with event_revoker
ItemsSourceView::CollectionChanged_revoker CollectionChanged(auto_revoke_t, NotifyCollectionChangedEventHandler const& handler) const;
// This member is not implemented in C#
' This member is not implemented in VB.NET

Event Type

Implements

E:Windows.UI.Xaml.Interop.INotifyCollectionChanged.CollectionChanged E:System.Collections.Specialized.INotifyCollectionChanged.CollectionChanged

Applies to