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

ResetComboBoxBackColor()

public void ResetComboBoxBackColor();
Public Sub ResetComboBoxBackColor()

Examples

This example describes how to use the 'ResetComboBoxBackColor' method. Here, the 'Azure' 'ComboBoxBackColor' 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;

buttonBar1.DisplayColors = colors;
buttonBar1.DisplayColors.ResetComboBoxBackColor(); // In this line, the 'ResetComboBoxBackColor()' Method is used.
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.ColorSchem
Dim colors As TXTextControl.ButtonBar.Colors = New TXTextControl.ButtonBar.Colors()
colors.BackColor = System.Drawing.Color.White
colors.ComboBoxBackColor = System.Drawing.Color.Azure

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