Class CellRangeInsertedOrRemovedAwareOrderedCollection
A list-backed collection of cell ranges that preserves insertion order and updates ranges when worksheet structure changes.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class CellRangeInsertedOrRemovedAwareOrderedCollection : CellRangeInsertedOrRemovedAwareCollectionBase
Constructors
CellRangeInsertedOrRemovedAwareOrderedCollection(Cells)
Initializes a new instance of the CellRangeInsertedOrRemovedAwareOrderedCollection class.
Declaration
protected CellRangeInsertedOrRemovedAwareOrderedCollection(Cells cells)
Parameters
|
Cells
cells
The cells. |
Properties
CellRanges
Gets the cell ranges.
Declaration
protected override ICollection<CellRange> CellRanges { get; }
Property Value
|
System.Collections.Generic.ICollection<CellRange>
The cell ranges. |
Overrides
RangesList
Gets the ranges list.
Declaration
protected List<CellRange> RangesList { get; }
Property Value
|
System.Collections.Generic.List<CellRange>
The ranges list. |
Methods
Insert(Int32, CellRange)
Inserts a cell range at the specified index in the ordered list.
Declaration
protected virtual void Insert(int index, CellRange range)
Parameters
|
System.Int32
index
The index. |
|
CellRange
range
The range. |
RemoveCellRangeAt(Int32)
Removes the cell range at the specified index from the ordered list.
Declaration
protected virtual void RemoveCellRangeAt(int index)
Parameters
|
System.Int32
index
The index. |
TranslateRange(CellRange, CellRange)
Translates the range.
Declaration
protected override void TranslateRange(CellRange oldRange, CellRange newRange)
Parameters
|
CellRange
oldRange
The old range. |
|
CellRange
newRange
The new range. |