Gets or sets a value specifying whether the ruler bar shows cell references when the current input position is in a table cell. Depending on the Text
Introduced: X16.
public RulerBarFormulaMode FormulaMode { get; set; }
Public Property FormulaMode As RulerBarFormulaMode
Member | Description |
---|---|
None | Default. The ruler bar does not show cell references. |
Always | The ruler bar shows cell references when the text input position is in a table call. When the input position changes to another cell, all references are shown relative to this new cell. |
Auto | The ruler bar only shows cell references when the text input position is in a table cell containing a formula. |
Fixed | The ruler bar shows cell references relative to the cell which contains the text input position when this mode is switched on. When the input position changes to another cell, all references remain relative to the first cell. |
The following example uses the Formula
TXTextControl.RulerBar rulerBar = new TXTextControl.RulerBar();
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top;
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat;
rulerBar.FormulaMode = TXTextControl.RulerBarFormulaMode.Auto;
Dim rulerBar As TXTextControl.RulerBar = New TXTextControl.RulerBar()
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat
rulerBar.FormulaMode = TXTextControl.RulerBarFormulaMode.Auto
End Sub