Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 CollectionChanged Event
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.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.
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

Windows Vista

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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker