Class ObservableItemCollection<T>
System.Collections.ObjectModel.ObservableCollection<> that also raises notifications when one of its items property is changed. The items in the collection should implement System.ComponentModel.INotifyPropertyChanged.
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class ObservableItemCollection<T> : RadObservableCollection<T>, ISuspendNotifications, INotifyCollectionStateProvider, IWeakEventListener<PropertyChangedEventArgs>, INotifyItemChanged where T : class, INotifyPropertyChanged
Type Parameters
T
Type of the items in the collection. It should implement System.ComponentModel.INotifyPropertyChanged. |
Constructors
ObservableItemCollection()
Declaration
public ObservableItemCollection()
Methods
ClearItems()
Declaration
protected override void ClearItems()
Overrides
Remarks
Unsubscribes from all items System.ComponentModel.INotifyPropertyChanged.PropertyChanged events.
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
|
Overrides
OnItemChanged(ItemChangedEventArgs<T>)
Raises the ItemChanged event.
Declaration
protected virtual void OnItemChanged(ItemChangedEventArgs<T> e)
Parameters
ItemChangedEventArgs<T>
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 Type
System.EventHandler<ItemChangedEventArgs<T>>
|
Explicit Interface Implementations
INotifyItemChanged.ItemChanged
Raised when some collection item's property is changed.
Declaration
event EventHandler<ItemChangedEventArgs> INotifyItemChanged.ItemChanged
Returns
System.EventHandler<ItemChangedEventArgs>
|