Gets or sets the background color at the right edge of the button bar.

Syntax

public Color GradientBackColor { get; set; }

Examples

This example describes how to use the 'GradientBackColor' property. Here, the background color at the right edge of the button bar is set to 'DarkGrey'.

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.GradientBackColor = System.Drawing.Color.DarkGray; // In this line, the 'GradientBackColor' property is set.

buttonBar1.DisplayColors = colors;