Class CellReferenceRange
Represents a rectangular range of cell references with absolute or relative addressing, used in formulas to reference contiguous cell areas.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class CellReferenceRange
Properties
ColumnsCount
Gets the number of columns spanned by the reference range.
Declaration
public int ColumnsCount { get; }
Property Value
|
System.Int32
The columns count. |
FromCellReference
Gets the top-left cell reference of the range.
Declaration
public CellReference FromCellReference { get; }
Property Value
|
CellReference
The start cell reference. |
IsInRange
Gets whether the reference range lies within valid worksheet boundaries.
Declaration
public bool IsInRange { get; }
Property Value
|
System.Boolean
The value indicating whether the range is within the valid boundaries. |
RowsCount
Gets the number of rows spanned by the reference range.
Declaration
public int RowsCount { get; }
Property Value
|
System.Int32
The rows count. |
ToCellReference
Gets the bottom-right cell reference of the range.
Declaration
public CellReference ToCellReference { get; }
Property Value
|
CellReference
The end cell reference. |
Worksheet
Gets the worksheet to which this cell reference range belongs.
Declaration
public Worksheet Worksheet { get; }
Property Value
|
Worksheet
The worksheet. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |
Overrides
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
|
System.String
A System.String that represents the current System.Object. |