Gets or sets an array of boolean values specifying whether or not a separator is drawn between two buttons. The maximum size of the array is 31.

Syntax

public bool[] ButtonSeparators { get; set; }

Examples

This example shows the usage of a TXTextControl.ButtonBar,ButtonSeparators property. Here, a ButtonBar is created with 2 specific buttons and a separator between those.

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};