Class GridFormulaTag
Inheritance
System.Object
GridFormulaTag
Namespace: Syncfusion.UI.Xaml.CellGrid
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class GridFormulaTag : Object
Constructors
GridFormulaTag()
Default Constructor.
Declaration
public GridFormulaTag()
GridFormulaTag(String, String)
Constructor.
Declaration
public GridFormulaTag(string formula, string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | formula | The parsed formula. |
System.String | text | The computed value. |
GridFormulaTag(String, String, Int32, Int32)
Constructor.
Declaration
public GridFormulaTag(string formula, string text, int row, int col)
Parameters
Type | Name | Description |
---|---|---|
System.String | formula | The parsed formula. |
System.String | text | The computed value. |
System.Int32 | row | The row at which this formula is being parsed. |
System.Int32 | col | The col at which this formula is being parsed. |
Properties
Formula
Gets / sets the parsed formula.
Declaration
public string Formula { get; set; }
Property Value
Type |
---|
System.String |
ParsedCol
Gets the column where the formula was last parsed.
Declaration
public int ParsedCol { get; set; }
Property Value
Type |
---|
System.Int32 |
ParsedRow
Gets the column where the formula was last parsed.
Declaration
public int ParsedRow { get; set; }
Property Value
Type |
---|
System.Int32 |
Text
Get / sets text representing the computed value.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Methods
Reset()
Sets Text and Formula to null and ParsedRow and ParsedCol to -1.
Declaration
public void Reset()
ResetFormula()
Sets Text and Formula to null.
Declaration
public void ResetFormula()
ResetText()
Sets Text to null.
Declaration
public void ResetText()
ToString()
Overriden.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Displays the parsed formula and computed value. |