.NET Framework Class Library
ObservableCollection<(Of <(T>)>)..::.CollectionChanged Event

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

Visual Basic (Declaration)
Public Overridable Event CollectionChanged As NotifyCollectionChangedEventHandler
Visual Basic (Usage)
Dim instance As ObservableCollection
Dim handler As NotifyCollectionChangedEventHandler

AddHandler instance.CollectionChanged, handler
C#
public virtual event NotifyCollectionChangedEventHandler CollectionChanged
Visual C++
public:
virtual  event NotifyCollectionChangedEventHandler^ CollectionChanged {
    void add (NotifyCollectionChangedEventHandler^ value);
    void remove (NotifyCollectionChangedEventHandler^ value);
}
JScript
JScript does not support events.
XAML Attribute Usage
<object CollectionChanged="NotifyCollectionChangedEventHandler" .../>

Implements

INotifyCollectionChanged..::.CollectionChanged
Platforms

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker