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

ResetButtonPressedBottom()

public void ResetButtonPressedBottom();

Examples

This example describes how to use the 'ResetButtonPressedBottom' method. Here, the 'Snow' 'ButtonPressedBottom' 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.ButtonBackColorTop = System.Drawing.Color.DarkCyan;
colors.ButtonFrameColor = System.Drawing.Color.Red;
colors.ButtonHotTrackBottom = System.Drawing.Color.PowderBlue;
colors.ButtonHotTrackTop = System.Drawing.Color.PeachPuff;
colors.ButtonPressedBottom = System.Drawing.Color.Snow;

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