ClassCellInfo
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:
public class CellInfo
Inheritance: objectCellInfo
Constructors
CellInfo()
Initializes a new instance of the CellInfo class.
Declaration
public CellInfo()
CellInfo(CellIndex, CellSelection)
Initializes a new instance of the CellInfo class from a cell selection, extracting position and value.
Declaration
public CellInfo(CellIndex cellIndex, CellSelection cellSelection)
Parameters
cellIndex
Index of the cell.
cellSelection
The cell selection.
Properties
CellIndex
Gets or sets the cell index as a combined row and column coordinate.
Declaration
public CellIndex CellIndex { get; set; }
Property Value
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
public ICellValue CellValue { get; set; }
Property Value
The cell value.
ColumnIndex
Gets or sets the zero-based column index of the cell.
Declaration
public int ColumnIndex { get; set; }
Property Value
The index of the column.
RowIndex
Gets or sets the zero-based row index of the cell.
Declaration
public int RowIndex { get; set; }
Property Value
The index of the row.
StyleIndex
Gets or sets the style index referencing a workbook style definition.
Declaration
public int StyleIndex { get; set; }
Property Value
The index of the style.