Gets or sets a value determining the button bar's read only mode. When the button bar is set to read only, it still shows all formatting attributes of the connected Text
Introduced: X14.
public bool ReadOnly { get; set; }
This example shows how to use the Button
TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ReadOnly = false;
buttonBar1.ButtonPositions = new TXTextControl.Button[]{
TXTextControl.Button.FontBoldButton,
TXTextControl.Button.FontItalicButton};
buttonBar1.ButtonSeparators = new bool[] {true};