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