Microsoft Silverlight will reach end of support after October 2021. Learn more.
Occurs when the items list of the collection has changed, or the collection is reset.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Event CollectionChanged As NotifyCollectionChangedEventHandler
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.
How to: Bind to Hierarchical Data and Create a Master/Details View
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.