New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class WorksheetCellIndex

Inheritance: objectWorksheetCellIndex

Constructors

Initializes a new instance of the WorksheetCellIndex class.

C#
public WorksheetCellIndex(Worksheet worksheet, CellIndex cellIndex)
Parameters:worksheetWorksheet

The worksheet.

cellIndexCellIndex

Index of the cell.

Initializes a new instance of the WorksheetCellIndex class.

C#
public WorksheetCellIndex(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters:worksheetWorksheet

The worksheet.

rowIndexint

Index of the row.

columnIndexint

Index of the column.

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

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

C#
public CellIndex CellIndex { get; }
Property Value:

The index of the cell.

Returns the worksheet containing this cell.

C#
public Worksheet Worksheet { get; }
Property Value:

The worksheet.