Class
CellReferenceRange

Represents a rectangular range of cell references with absolute or relative addressing, used in formulas to reference contiguous cell areas.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class CellReferenceRange

Inheritance: objectCellReferenceRange

Properties

ColumnsCount

Gets the number of columns spanned by the reference range.

Declaration

cs-api-definition
public int ColumnsCount { get; }

Property Value

int

The columns count.

FromCellReference

Gets the top-left cell reference of the range.

Declaration

cs-api-definition
public CellReference FromCellReference { get; }

Property Value

CellReference

The start cell reference.

IsInRange

Gets whether the reference range lies within valid worksheet boundaries.

Declaration

cs-api-definition
public bool IsInRange { get; }

Property Value

bool

The value indicating whether the range is within the valid boundaries.

RowsCount

Gets the number of rows spanned by the reference range.

Declaration

cs-api-definition
public int RowsCount { get; }

Property Value

int

The rows count.

ToCellReference

Gets the bottom-right cell reference of the range.

Declaration

cs-api-definition
public CellReference ToCellReference { get; }

Property Value

CellReference

The end cell reference.

Worksheet

Gets the worksheet to which this cell reference range belongs.

Declaration

cs-api-definition
public Worksheet Worksheet { get; }

Property Value

Worksheet

The worksheet.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()

ToString()

Returns a string that represents the current object.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current object.

Overrides object.ToString()

Extension Methods