ClassObservableItemCollection<T>
ObservableCollection<T> that also raises notifications when one of its items property is changed. The items in the collection should implement INotifyPropertyChanged.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Type Parameters:
T
Type of the items in the collection. It should implement INotifyPropertyChanged.
Syntax:
public class ObservableItemCollection<T> : RadObservableCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, ISuspendNotifications, INotifyItemChanged where T : class, INotifyPropertyChanged
Inheritance: objectCollection<T>ObservableCollection<T>RadObservableCollection<T>ObservableItemCollection<T>
Derived Classes:
Implements:
Inherited Members
Constructors
ObservableItemCollection()
Declaration
public ObservableItemCollection()
Methods
ClearItems()
Declaration
protected override void ClearItems()
Overrides
Remarks
Unsubscribes from all items PropertyChanged events.
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
Overrides
Remarks
Raises the CollectionChanged event when notifications are not suspended.
OnItemChanged(ItemChangedEventArgs<T>)
Raises the ItemChanged event.
Declaration
protected virtual void OnItemChanged(ItemChangedEventArgs<T> e)
Parameters
e
The ItemChangedEventArgs<T> instance containing the event data.
Events
ItemChanged
Raised when some collection item's property is changed.
Declaration
public event EventHandler<ItemChangedEventArgs<T>> ItemChanged
Event Value