DeferrableObservableItemCollection<T> Class
Represents a collection of objects that can be observed for items being removed and added by any means, including Clear and Replace.
public class DeferrableObservableItemCollection<T> : DeferrableObservableCollection<T> where T : class
- Type Parameters:
-
T
-
- Inheritance:
- object Collection<T> ObservableCollection<T> DeferrableObservableCollection<T> object
Methods
ClearItems()
Removes all items from the collection.
protected override void ClearItems()
InsertItem(int, T)
Inserts an item into the collection at the specified index.
protected override void InsertItem(int index, T item)
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which |
item | T | The object to insert. |
RemoveItem(int)
Removes the item at the specified index of the collection.
protected override void RemoveItem(int index)
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index of the item to remove. |
SetItem(int, T)
Replaces the element at the specified index.
protected override void SetItem(int index, T item)
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index of the item to replace. |
item | T | The new value for the element at the specified index. |
Inherited Members
- DeferrableObservableCollection<T>.AddRange(IEnumerable<T>)
- DeferrableObservableCollection<T>.BeginUpdate()
- DeferrableObservableCollection<T>.EndUpdate()
- DeferrableObservableCollection<T>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
- DeferrableObservableCollection<T>.OnPropertyChanged(PropertyChangedEventArgs)
- DeferrableObservableCollection<T>.ToArray()
- DeferrableObservableCollection<T>.IsDirty
- DeferrableObservableCollection<T>.IsPropertyChangeSuspended
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()