InterfaceICellValue
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:
public interface ICellValue
Properties
RawValue
Unformatted value as it was originally entered or stored.
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
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
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
format
The format.
Returns
GetValueAsString(CellValueFormat)
Converts the raw value to a formatted string for display or editing.
Declaration
string GetValueAsString(CellValueFormat format)
Parameters
format
The format.
Returns