ClassCellRangeInsertedOrRemovedAwareCollection
A collection of cell ranges that automatically updates stored ranges when rows or columns are inserted or removed from the worksheet.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public abstract class CellRangeInsertedOrRemovedAwareCollection : CellRangeInsertedOrRemovedAwareCollectionBase, IEnumerable<CellRange>, IEnumerable
Inheritance: objectCellRangeInsertedOrRemovedAwareCollectionBaseCellRangeInsertedOrRemovedAwareCollection
Implements:
Inherited Members
Properties
CellRanges
Gets the cell ranges.
Declaration
protected override ICollection<CellRange> CellRanges { get; }
Property Value
The cell ranges.
Overrides
Methods
Add(CellRange)
Adds a cell range to the collection.
Declaration
protected virtual void Add(CellRange cellRange)
Parameters
cellRange
The cell range.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<CellRange> GetEnumerator()
Returns
A IEnumerator<T> that can be used to iterate through the collection.
Implements
Remove(CellRange)
Removes a cell range from the collection.
Declaration
protected virtual void Remove(CellRange cellRange)
Parameters
cellRange
The cell range.
TranslateRange(CellRange, CellRange)
Replaces an old range with a new range after worksheet insert or remove operations.