FormulaCellValue
Cell value for formula expressions that calculate dynamically; holds the expression tree and recalculates when dependencies change.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class FormulaCellValue : CellValueBase<RadExpression>, ICellValue
Inheritance: objectCellValueBase<RadExpression>FormulaCellValue
Implements:
Inherited Members
Methods
Evaluates the formula expression and returns the calculated result as a cell value.
Evaluates the formula and returns the result formatted as a string.
public override string GetResultValueAsString(CellValueFormat format)
The format.
Returns:The result value string.
Overrides:
Gets the value as string override.
protected override string GetValueAsStringOverride(CellValueFormat format = null)
The format.
Returns:The value as string.
Overrides:
Properties
Formula string as entered by the user (e.g., "=SUM(A1:A10)").
public override string RawValue { get; }
The raw value.
Overrides:
Type of the calculated result after the formula evaluates (e.g., Number, Text, Error).
public override CellValueType ResultValueType { get; }
The type of the result value.
Overrides:
Returns CellValueType.Formula.
public override CellValueType ValueType { get; }
The type of the value.
Overrides: