Class
WorksheetCellIndex

Associates a cell index with its containing worksheet, linking row and column coordinates to a specific sheet.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class WorksheetCellIndex

Inheritance: objectWorksheetCellIndex

Constructors

WorksheetCellIndex(Worksheet, CellIndex)

Initializes a new instance of the WorksheetCellIndex class.

Declaration

cs-api-definition
public WorksheetCellIndex(Worksheet worksheet, CellIndex cellIndex)

Parameters

worksheet

Worksheet

The worksheet.

cellIndex

CellIndex

Index of the cell.

WorksheetCellIndex(Worksheet, int, int)

Initializes a new instance of the WorksheetCellIndex class.

Declaration

cs-api-definition
public WorksheetCellIndex(Worksheet worksheet, int rowIndex, int columnIndex)

Parameters

worksheet

Worksheet

The worksheet.

rowIndex

int

Index of the row.

columnIndex

int

Index of the column.

Properties

CellIndex

Provides the row and column coordinates of the cell within the worksheet.

Declaration

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

Property Value

CellIndex

The index of the cell.

Worksheet

Returns the worksheet containing this cell.

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()