Class CellRangeInsertedOrRemovedAwareCollection<T>
A collection which can process the results of insertions and removals of cell ranges.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class CellRangeInsertedOrRemovedAwareCollection<T> : CellRangeInsertedOrRemovedAwareCollectionBase, IEnumerable<T>, IEnumerable
Type Parameters
T
|
Properties
CellRanges
Gets the cell ranges.
Declaration
protected override ICollection<CellRange> CellRanges { get; }
Property Value
System. The cell ranges. |
Overrides
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
System. The count. |
Elements
Gets the elements.
Declaration
protected IDictionary<CellRange, T> Elements { get; }
Property Value
System. The elements. |
Worksheet
Gets the worksheet.
Declaration
protected Worksheet Worksheet { get; }
Property Value
Worksheet
The worksheet. |
Methods
Add(CellRange, T)
Adds the specified element when cellRange is inserted.
Declaration
protected abstract T Add(CellRange cellRange, T element)
Parameters
Cell The cell range. |
T
element
The element. |
Returns
T
|
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
System. A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
Remove(CellRange)
Removes elements when cellRange is removed.
Declaration
protected abstract bool Remove(CellRange cellRange)
Parameters
Cell The cell range. |
Returns
System.
|
TranslateRange(CellRange, CellRange)
Translates the range.
Declaration
protected override void TranslateRange(CellRange oldRange, CellRange newRange)
Parameters
Overrides
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System. An System. |