ClassObservableCollection<T>
Definition
Namespace:Telerik.ReportServer.Services.Models.RecurrenceRules
Assembly:Telerik.ReportServer.Services.Models.dll
Type Parameters:
T
Syntax:
public class ObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChangingEx
Inheritance: objectCollection<T>ObservableCollection<T>
Derived Classes:
Implements:
Constructors
ObservableCollection()
Declaration
public ObservableCollection()
ObservableCollection(IEnumerable<T>)
Declaration
public ObservableCollection(IEnumerable<T> list)
Parameters
list
IEnumerable<T>
ObservableCollection(IList<T>)
Declaration
public ObservableCollection(IList<T> list)
Parameters
list
IList<T>
ObservableCollection(ObservableCollection<T>)
Declaration
public ObservableCollection(ObservableCollection<T> list)
Parameters
list
Fields
CountString
Declaration
protected const string CountString = "Count"
Field Value
string
ItemArrayString
Declaration
protected const string ItemArrayString = "Item[]"
Field Value
string
Properties
IsUpdated
Declaration
public bool IsUpdated { get; }
Property Value
bool
Methods
AddRange(IEnumerable<T>)
Declaration
public virtual void AddRange(IEnumerable<T> items)
Parameters
items
IEnumerable<T>
BeginItemUpdate()
Declaration
public virtual void BeginItemUpdate()
BeginUpdate()
Declaration
public virtual void BeginUpdate()
CallCollectionChanged(object, NotifyCollectionChangedEventArgs)
Declaration
protected void CallCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
sender
object
e
CallCollectionChanging(object, NotifyCollectionChangingEventArgs)
Declaration
protected void CallCollectionChanging(object sender, NotifyCollectionChangingEventArgs e)
Parameters
sender
object
e
ClearItems()
Declaration
protected override void ClearItems()
Overrides
EndItemUpdate()
Declaration
public void EndItemUpdate()
EndItemUpdate(bool)
Declaration
public virtual void EndItemUpdate(bool notifyUpdates)
Parameters
notifyUpdates
bool
EndUpdate()
Declaration
public void EndUpdate()
EndUpdate(bool)
Declaration
public virtual void EndUpdate(bool notifyUpdates)
Parameters
notifyUpdates
bool
InsertItem(int, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
index
int
item
T
Overrides
InsertItem(int, T, Action<T>)
Declaration
protected virtual void InsertItem(int index, T item, Action<T> approvedAction)
Parameters
index
int
item
T
approvedAction
Action<T>
Move(int, int)
Declaration
public void Move(int oldIndex, int newIndex)
Parameters
oldIndex
int
newIndex
int
MoveItem(int, int)
Declaration
protected virtual void MoveItem(int oldIndex, int newIndex)
Parameters
oldIndex
int
newIndex
int
NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyListenersCollectionChanging(NotifyCollectionChangingEventArgs)
Declaration
protected virtual void NotifyListenersCollectionChanging(NotifyCollectionChangingEventArgs e)
Parameters
e
OnCollectionChanged(NotifyCollectionChangedAction, object, int)
Declaration
protected void OnCollectionChanged(NotifyCollectionChangedAction action, object item, int index)
Parameters
action
item
object
index
int
OnCollectionChanged(NotifyCollectionChangedAction, object, int, int)
Declaration
protected void OnCollectionChanged(NotifyCollectionChangedAction action, object item, int index, int oldIndex)
Parameters
action
item
object
index
int
oldIndex
int
OnCollectionChanged(NotifyCollectionChangedAction, object, object, int)
Declaration
protected void OnCollectionChanged(NotifyCollectionChangedAction action, object oldItem, object newItem, int index)
Parameters
action
oldItem
object
newItem
object
index
int
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
OnCollectionChanging(NotifyCollectionChangedAction, object, int)
Declaration
protected bool OnCollectionChanging(NotifyCollectionChangedAction action, object item, int index)
Parameters
action
item
object
index
int
Returns
bool
OnCollectionChanging(NotifyCollectionChangedAction, object, int, int)
Declaration
protected bool OnCollectionChanging(NotifyCollectionChangedAction action, object item, int index, int oldIndex)
Parameters
action
item
object
index
int
oldIndex
int
Returns
bool
OnCollectionChanging(NotifyCollectionChangedAction, object, object, int)
Declaration
protected bool OnCollectionChanging(NotifyCollectionChangedAction action, object oldItem, object newItem, int index)
Parameters
action
oldItem
object
newItem
object
index
int
Returns
bool
OnCollectionChanging(NotifyCollectionChangingEventArgs)
Declaration
protected virtual bool OnCollectionChanging(NotifyCollectionChangingEventArgs e)
Parameters
e
Returns
bool
OnCollectionReset(IList)
Declaration
protected void OnCollectionReset(IList oldItems)
Parameters
oldItems
IList
OnCollectionReseting()
Declaration
protected bool OnCollectionReseting()
Returns
bool
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
PropertyChangedEventArgs
OnNotifyPropertyChanged(string)
Declaration
protected virtual void OnNotifyPropertyChanged(string propertyName)
Parameters
propertyName
string
OnNotifyPropertyChanging(PropertyChangingEventArgsEx)
Declaration
protected virtual void OnNotifyPropertyChanging(PropertyChangingEventArgsEx e)
Parameters
e
OnNotifyPropertyChanging(string)
Declaration
protected virtual void OnNotifyPropertyChanging(string propertyName)
Parameters
propertyName
string
RemoveItem(int)
Declaration
protected override void RemoveItem(int index)
Parameters
index
int
Overrides
RemoveRange(IEnumerable<T>)
Declaration
public virtual void RemoveRange(IEnumerable<T> items)
Parameters
items
IEnumerable<T>
SetItem(int, T)
Declaration
protected override void SetItem(int index, T item)
Parameters
index
int
item
T
Overrides
Events
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Value
Implements
CollectionChanging
Declaration
public event NotifyCollectionChangingEventHandler CollectionChanging
Event Value
Implements
PropertyChanged
Declaration
[Browsable(false)]
public event PropertyChangedEventHandler PropertyChanged
Event Value
PropertyChangedEventHandler
PropertyChanging
Declaration
public event PropertyChangingEventHandlerEx PropertyChanging
Event Value
Implements