ItemsSourceView.CollectionChanged Ereignis

Definition

Tritt auf, wenn die Auflistung geändert wurde, um den Grund für die Änderung anzugeben und welche Elemente geändert wurden.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die 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

Ereignistyp

Implementiert

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

Gilt für: