New to Telerik Document ProcessingStart a free 30-day trial

Represents a reference to a single cell with absolute or relative row and column addressing, used in formulas for cell-based calculations.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class CellReference

Inheritance: objectCellReference

Methods

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

C#
public override bool Equals(object obj)
Parameters:objobject

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)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Properties

Gets the resolved zero-based column index after evaluating relative references.

C#
public int ActualColumnIndex { get; }
Property Value:

The actual index of the column.

Gets the resolved zero-based row index after evaluating relative references.

C#
public int ActualRowIndex { get; }
Property Value:

The actual index of the row.

Gets whether the column reference is absolute (does not change when formula is copied).

C#
public bool IsColumnAbsolute { get; }
Property Value:

A value indicating whether the column is absolute.

Gets whether the row reference is absolute (does not change when formula is copied).

C#
public bool IsRowAbsolute { get; }
Property Value:

A value indicating whether the row is absolute.