Represents a collection that provides notifications when items are added, removed, or when individual items' properties change.
This collection extends NotifyCollection by automatically subscribing to PropertyChanged events of individual items. When an item's property changes, the collection raises a CollectionChanged event with ItemChanged action.
Definition
Namespace:Telerik.Collections.Generic
Assembly:Telerik.WinControls.dll
Type Parameters:
T
The type of elements in the collection. Must implement INotifyPropertyChanged.
Syntax:
C#
public class ItemNotifyCollection<T> : NotifyCollection<T>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where T : INotifyPropertyChanged
Inheritance: objectCollection<T>NotifyCollection<T>ItemNotifyCollection<T>
Implements:
Inherited Members
Constructors
C#
public ItemNotifyCollection()
C#
public ItemNotifyCollection(IList<T> list)
Methods
C#
protected override void ClearItems()
Overrides:
C#
protected virtual void SubscribeItem(T item)
C#
protected virtual void UnsubscribeItem(T item)