Gets or sets the colors of the button bar. These colors are only used when the Border
Introduced: 15.1.
public ButtonBar.Colors DisplayColors { get; set; }
This example describes how to use the 'Display
TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ButtonStyle = TXTextControl.ButtonStyle.ColorScheme; // must be set to 'ColorScheme'
buttonBar1.ButtonPositions = new TXTextControl.Button[] {
TXTextControl.Button.FontBoldButton,
TXTextControl.Button.FontNameComboBox };
buttonBar1.BorderStyle = TXTextControl.ButtonBarBorderStyle.ColorScheme; // must be set to 'ColorScheme'
TXTextControl.ButtonBar.Colors colors = new TXTextControl.ButtonBar.Colors();
colors.BackColor = System.Drawing.Color.White;
colors.ComboBoxBackColor = System.Drawing.Color.Azure;
buttonBar1.DisplayColors = colors; // In this line, the 'DisplayColors' property is set