TX Text Control .NET for Windows Forms Documentation

ButtonBar.Colors Class

The ButtonBar.Colors class gets, sets or resets the display colors of a ButtonBar control. By default the display colors depend on sytem colors. With this class all colors can be individually designed. The colors are only used when the button bar's BorderStyle and ButtonStyle property have been set to ColorScheme.

Introduced: 15.1.

Syntax

[C#] public class ButtonBar.Colors
[Visual Basic] Public Class ButtonBar.Colors

Constructors

ConstructorDescription
ButtonBar.ColorsInitializes a new instance of the ButtonBar.Colors class.

Properties

PropertyDescription
BackColorGets or sets the background color at the left edge of the button bar.
ButtonBackColorBottomGets or sets the background color at the bottom of a button.
ButtonBackColorMiddleGets or sets the background color in the middle of a button.
ButtonBackColorTopGets or sets the background color at the top of a button.
ButtonFrameColorGets or sets the frame color of a selected or pressed button.
ButtonHotTrackBottomGets or sets the background color at the bottom of a button, if the mouse cursor is over the button.
ButtonHotTrackTopGets or sets the background color at the top of a button, if the mouse cursor is over the button.
ButtonPressedBottomGets or sets the background color at the bottom of a button used when the button is pressed down.
ButtonPressedTopGets or sets the background color at the top of a button used when the button is pressed down.
ButtonSelectedBottomGets or sets the background color at the bottom of a button used when the button is selected.
ButtonSelectedTopGets or sets the background color at the top of a button used when the button is selected.
ComboBoxBackColorGets or sets the background color of the combo boxes.
ForeColorGets or sets the color used for text and the button images.
GradientBackColorGets or sets the background color at the right edge of the button bar.
SeparatorColorDarkGets or sets the color of the dark part of a separator.
SeparatorColorLightGets or sets the color of the light part of a separator.

Methods

MethodDescription
ResetBackColorResets the button bar's BackColor to its system dependent default value.
ResetButtonBackColorBottomResets the button bar's ButtonBackColorBottom to its system dependent default value.
ResetButtonBackColorMiddleResets the button bar's ButtonBackColorMiddle to its system dependent default value.
ResetButtonBackColorTopResets the button bar's ButtonBackColorTop to its system dependent default value.
ResetButtonFrameColorResets the button bar's ButtonFrameColor to its system dependent default value.
ResetButtonHotTrackBottomResets the button bar's ButtonHotTrackBottom to its system dependent default value.
ResetButtonHotTrackTopResets the button bar's ButtonHotTrackTop to its system dependent default value.
ResetButtonPressedBottomResets the button bar's ButtonPressedBottom to its system dependent default value.
ResetButtonPressedTopResets the button bar's ButtonPressedTop to its system dependent default value.
ResetButtonSelectedBottomResets the button bar's ButtonSelectedBottom to its system dependent default value.
ResetButtonSelectedTopResets the button bar's ButtonSelectedTop to its system dependent default value.
ResetComboBoxBackColorResets the button bar's ComboBoxBackColor to its system dependent default value.
ResetForeColorResets the button bar's ForeColor to its system dependent default value.
ResetGradientBackColorResets the button bar's GradientBackColor to its system dependent default value.
ResetSeparatorColorDarkResets the button bar's SeparatorColorDark to its system dependent default value.
ResetSeparatorColorLightResets the button bar's SeparatorColorLight to its system dependent default value.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now