NotifyCollectionChangedEventHandler Delegate
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents the method that handles events that implement the INotifyCollectionChanged.CollectionChanged event.
Assembly: System (in System.dll)
'Declaration Public Delegate Sub NotifyCollectionChangedEventHandler ( _ sender As Object, _ e As NotifyCollectionChangedEventArgs _ )
Parameters
- sender
- Type: System.Object
The object that raised the event.
- e
- Type: System.Collections.Specialized.NotifyCollectionChangedEventArgs
The event data.
Windows Phone provides the ObservableCollection(Of T) class that implements INotifyCollectionChanged. ObservableCollection(Of T) can be used as the source for a collection that properly notifies bindings about items controls of changes in the collection. The ObservableCollection(Of T) implemention of INotifyCollectionChanged.CollectionChanged is CollectionChanged.