In This Article

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
Derived:
XYAxisCollection XYRangeCollection XYSeriesCollection

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 should be inserted.

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