Class ReadOnlyObservableCollection<T>
Represents a read-only data collection that provides notifications when the original ObservableCollection<T> has changed.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class ReadOnlyObservableCollection<T> : ReadOnlyCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
T
|
Constructors
ReadOnlyObservableCollection(ObservableCollection<T>)
Initializes a new instance of the ReadOnlyObservableCollection<T> with an instance of a ObservableCollection<T> />
Declaration
public ReadOnlyObservableCollection(ObservableCollection<T> list)
Parameters
ObservableCollection<T>
list
|
Methods
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Fires the CollectionChanged event.
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
NotifyCollectionChangedEventArgs
args
|
OnPropertyChanged(PropertyChangedEventArgs)
Fires the PropertyChnaged event.
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters
System.ComponentModel.PropertyChangedEventArgs
args
|
Events
CollectionChanged
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Declaration
protected event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
NotifyCollectionChangedEventHandler
|
PropertyChanged
Occurs when when a property of an object changes change. Calling the event is developer's responsibility.
Declaration
protected event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
Explicit Interface Implementations
INotifyCollectionChanged.CollectionChanged
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Declaration
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
Returns
NotifyCollectionChangedEventHandler
|