Safe |
An observable collection specifically designed to contain objects that implement INotifyPropertyChanged.
As objects are added and removed from the collection, property changed handlers are automatically added and removed from the objects. As well as raising the standard collection changed event, it also raises the property changed event for any object in the collection that is changed. The collection effectively aggregates property changed handling for all of its items.
public class SafeObservableCollection<T> : ObservableCollection, IDisposable where T : INotifyPropertyChanged
The SafeObservableCollectionT type exposes the following members.
Name | Description | |
---|---|---|
SafeObservableCollectionT | Initializes a new instance of the SafeObservableCollectionT class | |
SafeObservableCollectionT(IEnumerableT) | Initializes a new instance of the SafeObservableCollectionT class | |
SafeObservableCollectionT(ListT) | Initializes a new instance of the SafeObservableCollectionT class |
Name | Description | |
---|---|---|
ItemPropertyChanged | This event is raised when any of the items in the collection raise the PropertyChanged event. Events from collection items are aggregated and passed to listeners through this event. It allows callers to listen for change events from all collection items via this single collection-level event. |