Class
CellInfo

Encapsulates cell metadata including position, value, and style index for use during format provider import and export operations.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders.Contexts

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class CellInfo

Inheritance: objectCellInfo

Constructors

CellInfo()

Initializes a new instance of the CellInfo class.

Declaration

cs-api-definition
public CellInfo()

CellInfo(CellIndex, CellSelection)

Initializes a new instance of the CellInfo class from a cell selection, extracting position and value.

Declaration

cs-api-definition
public CellInfo(CellIndex cellIndex, CellSelection cellSelection)

Parameters

cellIndex

CellIndex

Index of the cell.

cellSelection

CellSelection

The cell selection.

Properties

CellIndex

Gets or sets the cell index as a combined row and column coordinate.

Declaration

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

Property Value

CellIndex

The index of the cell.

CellValue

Gets or sets the cell's value, which may be a number, text, boolean, formula, error, or empty value.

Declaration

cs-api-definition
public ICellValue CellValue { get; set; }

Property Value

ICellValue

The cell value.

ColumnIndex

Gets or sets the zero-based column index of the cell.

Declaration

cs-api-definition
public int ColumnIndex { get; set; }

Property Value

int

The index of the column.

RowIndex

Gets or sets the zero-based row index of the cell.

Declaration

cs-api-definition
public int RowIndex { get; set; }

Property Value

int

The index of the row.

StyleIndex

Gets or sets the style index referencing a workbook style definition.

Declaration

cs-api-definition
public int StyleIndex { get; set; }

Property Value

int

The index of the style.