New to Telerik Document ProcessingStart a free 30-day trial

A list-backed collection of cell ranges that preserves insertion order and updates ranges when worksheet structure changes.

Definition

Constructors

Initializes a new instance of the CellRangeInsertedOrRemovedAwareOrderedCollection class.

C#
protected CellRangeInsertedOrRemovedAwareOrderedCollection(Cells cells)
Parameters:cellsCells

The cells.

Methods

Inserts a cell range at the specified index in the ordered list.

C#
protected virtual void Insert(int index, CellRange range)
Parameters:indexint

The index.

rangeCellRange

The range.

Removes the cell range at the specified index from the ordered list.

C#
protected virtual void RemoveCellRangeAt(int index)
Parameters:indexint

The index.

Translates the range.

C#
protected override void TranslateRange(CellRange oldRange, CellRange newRange)
Parameters:oldRangeCellRange

The old range.

newRangeCellRange

The new range.

Overrides: CellRangeInsertedOrRemovedAwareCollectionBase.TranslateRange(CellRange, CellRange)

Properties

Gets the cell ranges.

C#
protected override ICollection<CellRange> CellRanges { get; }
Property Value:

The cell ranges.

Overrides: CellRangeInsertedOrRemovedAwareCollectionBase.CellRanges

Gets the ranges list.

C#
protected List<CellRange> RangesList { get; }
Property Value:

The ranges list.