NotifyCollectionChangedEventHandler Delegate

Represents the method that handles events that implement the INotifyCollectionChanged.CollectionChanged event.

Namespace:  System.Collections.Specialized
Assembly:  System.Windows (in System.Windows.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.

Silverlight 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: