Gets or sets the color of the dark part of a separator.

Syntax

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

Examples

This example describes how to use the 'SeparatorColorDark' property. Here, the color of the dark part of a separator is set to 'DarkRed'.

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

buttonBar1.DisplayColors = colors