Interface
ICellValue

Contract for all cell value implementations providing access to content, type, and formatted display.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public interface ICellValue

Properties

RawValue

Unformatted value as it was originally entered or stored.

Declaration

cs-api-definition
string RawValue { get; }

Property Value

string

The raw value.

ResultValueType

Type of the evaluated result; for formulas, this is the type of the calculated result rather than Formula.

Declaration

cs-api-definition
CellValueType ResultValueType { get; }

Property Value

CellValueType

The type of the result value.

ValueType

Category of the cell's content (Empty, Number, Text, Formula, Boolean, RichText, or Error).

Declaration

cs-api-definition
CellValueType ValueType { get; }

Property Value

CellValueType

The type of the value.

Methods

GetResultValueAsString(CellValueFormat)

Converts the evaluated result to a formatted string; for formulas, this evaluates the expression first.

Declaration

cs-api-definition
string GetResultValueAsString(CellValueFormat format)

Parameters

format

CellValueFormat

The format.

Returns

string

GetValueAsString(CellValueFormat)

Converts the raw value to a formatted string for display or editing.

Declaration

cs-api-definition
string GetValueAsString(CellValueFormat format)

Parameters

format

CellValueFormat

The format.

Returns

string