Gets or sets the background color in the middle of a button.

Syntax

public Color ButtonBackColorMiddle { get; set; }
Public Property ButtonBackColorMiddle As Color

Example for TXTextControl.ButtonBar.Colors.ButtonBackColorMiddle Property

This example describes how to use the 'ButtonBackColorMiddle' property. Here, the background color in the middle of a button is set to 'Cyan'.

TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ButtonStyle = TXTextControl.ButtonStyle.ColorScheme;
buttonBar1.ButtonPositions = new TXTextControl.Button[] {
TXTextControl.Button.FontBoldButton,
TXTextControl.Button.FontNameComboBox };
buttonBar1.BorderStyle = TXTextControl.ButtonBarBorderStyle.ColorScheme;

TXTextControl.ButtonBar.Colors colors = new TXTextControl.ButtonBar.Colors();
colors.BackColor = System.Drawing.Color.White;
colors.ComboBoxBackColor = System.Drawing.Color.Azure;
colors.ForeColor = System.Drawing.Color.Black;
colors.ButtonBackColorBottom = System.Drawing.Color.Aquamarine;
colors.ButtonBackColorMiddle = System.Drawing.Color.Cyan; // In this line, the 'ButtonBackColorMiddle' property is set.

buttonBar1.DisplayColors = colors;
Dim buttonBar1 As TXTextControl.ButtonBar = New TXTextControl.ButtonBar()
buttonBar1.ButtonStyle = TXTextControl.ButtonStyle.ColorScheme
buttonBar1.ButtonPositions = New TXTextControl.Button() {TXTextControl.Button.FontBoldButton, TXTextControl.Button.FontNameComboBox}
buttonBar1.BorderStyle = TXTextControl.ButtonBarBorderStyle.ColorScheme
Dim colors As TXTextControl.ButtonBar.Colors = New TXTextControl.ButtonBar.Colors()

colors.BackColor = System.Drawing.Color.White
colors.ComboBoxBackColor = System.Drawing.Color.Azure
colors.ForeColor = System.Drawing.Color.Black
colors.ButtonBackColorBottom = System.Drawing.Color.Aquamarine
colors.ButtonBackColorMiddle = System.Drawing.Color.Cyan ' In this line, the 'ButtonBackColorMiddle' property is set.
This example describes how to use the 'BackColor' property. Here, the background color at the left edge of the button bar is set to 'White'.
buttonBar1.DisplayColors = colors