CollectionChanged Event
Collapse the table of content
Expand the table of content

INotifyCollectionChanged.CollectionChanged Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the items list of the collection has changed, or the collection is reset.

Namespace:  System.Collections.Specialized
Assembly:  System (in System.dll)

event NotifyCollectionChangedEventHandler CollectionChanged

Raise this event whenever your collection processes calls to typical collection members (Add, Remove, Insert, etc.).

The event data of this event (NotifyCollectionChangedEventArgs) reports information about the nature of the collection change.

This interface does not report changes to the individual properties of any objects that are contained in the collection, only that changes have occurred at the collection level. To report changes to properties using data binding at the object level, use INotifyPropertyChanged.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft