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
ICollection<CellRange>
Gets the cell ranges.
protected override ICollection<CellRange> CellRanges { get; }
The cell ranges.
Overrides:
Gets the elements.
protected IDictionary<CellRange, T> Elements { get; }
The elements.
Methods
Adds an element associated with the specified cell range to the collection.
protected abstract T Add(CellRange cellRange, T element)
The cell range.
elementTThe element.
Returns:T
Returns an enumerator that iterates through the collection.
public IEnumerator<T> GetEnumerator()
IEnumerator<T>
A IEnumerator<T> that can be used to iterate through the collection.