Resets the button bar's SeparatorColorLight to its system dependent default value.

ResetSeparatorColorLight()

public void ResetSeparatorColorLight();

Examples

This example describes how to use the 'ResetSeparatorColorLight' method. Here, the 'AntiqueWhite' 'SeparatorColorLight' property is reset to its system dependent default value.

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;
colors.SeparatorColorLight = System.Drawing.Color.AntiqueWhite;

buttonBar1.DisplayColors = colors;
buttonBar1.DisplayColors.ResetSeparatorColorLight(); // In this line, the 'ResetSeparatorColorLight()' Method is used.