Interface ICellValue
Contract for all cell value implementations providing access to content, type, and formatted display.
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public interface ICellValue
Properties
RawValue
Unformatted value as it was originally entered or stored.
Declaration
string RawValue { get; }
Property Value
|
System.String
The raw value. |
ResultValueType
Type of the evaluated result; for formulas, this is the type of the calculated result rather than Formula.
Declaration
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
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
string GetResultValueAsString(CellValueFormat format)
Parameters
|
CellValueFormat
format
The format. |
Returns
|
System.String
|
GetValueAsString(CellValueFormat)
Converts the raw value to a formatted string for display or editing.
Declaration
string GetValueAsString(CellValueFormat format)
Parameters
|
CellValueFormat
format
The format. |
Returns
|
System.String
|