Gets or sets a value determining the ruler bar's read only mode. When the ruler bar is set to read only, it still shows all formatting attributes of the connected Text
Introduced: X14.
public bool ReadOnly { get; set; }
Public Property ReadOnly As Boolean
The following example uses the Read
TXTextControl.RulerBar rulerBar = new TXTextControl.RulerBar();
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top;
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat;
rulerBar.FormulaMode = TXTextControl.RulerBarFormulaMode.Auto;
rulerBar.ReadOnly = true;
Dim rulerBar As TXTextControl.RulerBar = New TXTextControl.RulerBar()
rulerBar.Alignment = TXTextControl.RulerBarAlignment.Top
rulerBar.BorderStyle = TXTextControl.RulerBarBorderStyle.Flat
rulerBar.FormulaMode = TXTextControl.RulerBarFormulaMode.Auto
rulerBar.ReadOnly = true
End Sub