ClassCellRangeInsertedOrRemovedAwareCollection<T>
A dictionary-backed collection mapping cell ranges to elements, automatically updating ranges when worksheet structure changes.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Type Parameters:
T
Syntax:
public abstract class CellRangeInsertedOrRemovedAwareCollection<T> : CellRangeInsertedOrRemovedAwareCollectionBase, IEnumerable
Inheritance: objectCellRangeInsertedOrRemovedAwareCollectionBaseCellRangeInsertedOrRemovedAwareCollection<T>
Derived Classes:
Implements:
Inherited Members
Properties
CellRanges
Gets the cell ranges.
Declaration
protected override ICollection<CellRange> CellRanges { get; }
Property Value
ICollection<CellRange>
The cell ranges.
Overrides
Count
Gets the count.
Methods
Add(CellRange, T)
Adds an element associated with the specified cell range to the collection.
Declaration
protected abstract T Add(CellRange cellRange, T element)
Parameters
cellRange
The cell range.
element
T
The element.
Returns
T
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
IEnumerator<T>
A IEnumerator<T> that can be used to iterate through the collection.
Remove(CellRange)
Removes the element associated with the specified cell range from the collection.
TranslateRange(CellRange, CellRange)
Translates the range.