Compartilhar via


ItemsSourceView.CollectionChanged Evento

Definição

Ocorre quando a coleção foi alterada para indicar o motivo da alteração e quais itens foram alterados.

Esta documentação se aplica ao WinUI 2 para UWP (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

// 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

Tipo de evento

Implementações

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

Aplica-se a