In This Article

MicroXYRangeCollection Class

Represents a collection of MicroXYRange objects.

public class MicroXYRangeCollection : DeferrableObservableCollection<MicroXYRange>
Inheritance:
object Collection<MicroXYRange> ObservableCollection<MicroXYRange> DeferrableObservableCollection<MicroXYRange> object

Constructors

MicroXYRangeCollection(MicroXYChart)

Initializes a new instance of the MicroXYRangeCollection class.

public MicroXYRangeCollection(MicroXYChart chart)
Parameter Type Description
chart MicroXYChart

The MicroXYChart that owns this collection and the associated ranges.

Methods

ClearItems()

Removes all items from the collection.

protected override void ClearItems()

InsertItem(int, MicroXYRange)

Inserts an item into the collection at the specified index.

protected override void InsertItem(int index, MicroXYRange item)
Parameter Type Description
index int

The zero-based index at which item should be inserted.

item MicroXYRange

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, MicroXYRange)

Replaces the element at the specified index.

protected override void SetItem(int index, MicroXYRange item)
Parameter Type Description
index int

The zero-based index of the item to replace.

item MicroXYRange

The new value for the element at the specified index.

Inherited Members