Class NoxCellData
- Namespace
- Nox.Grid.Server
- Assembly
- Nox.Grid.Server.dll
A cell. The value is stored in exactly one type-specific property (Text, Number, Bool, Date, Error). They are kept separate instead of a single object so types stay unambiguous in JSON.
public sealed class NoxCellData
- Inheritance
-
NoxCellData
- Inherited Members
Properties
Bool
public bool? Bool { get; set; }
Property Value
- bool?
Col
public int Col { get; set; }
Property Value
Date
public DateTime? Date { get; set; }
Property Value
Error
Error value (#DIV/0!, etc.).
public string Error { get; set; }
Property Value
Formula
Formula ("=SUM(A1:A3)"). If set, the value above is the computed result.
public string Formula { get; set; }
Property Value
Number
public double? Number { get; set; }
Property Value
Row
public int Row { get; set; }
Property Value
Style
public NoxCellStyleData Style { get; set; }
Property Value
Text
public string Text { get; set; }
Property Value
Methods
GetValue()
The value (string, double, bool, DateTime, NoxFormulaError for errors, or null if none).
public object GetValue()
Returns
SetValue(object)
Sets the value (numeric types are stored as double).
public void SetValue(object value)
Parameters
valueobject