Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Namespace:
System.Collections.ObjectModel
Assembly:
WindowsBase (in WindowsBase.dll)
XMLNS for XAML: Not mapped to an xmlns.
Visual Basic (Declaration)
Public Overridable Event CollectionChanged As NotifyCollectionChangedEventHandler
Dim instance As ObservableCollection
Dim handler As NotifyCollectionChangedEventHandler
AddHandler instance.CollectionChanged, handler
public virtual event NotifyCollectionChangedEventHandler CollectionChanged
public:
virtual event NotifyCollectionChangedEventHandler^ CollectionChanged {
void add (NotifyCollectionChangedEventHandler^ value);
void remove (NotifyCollectionChangedEventHandler^ value);
}
JScript does not support events.
<object CollectionChanged="NotifyCollectionChangedEventHandler" .../>
Implements
INotifyCollectionChanged..::.CollectionChanged
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0
Reference