The Button
public class ButtonBar.Colors
Public Class ButtonBar.Colors
Introduced: 15.1.
In this example a Button
TXTextControl.ButtonBar buttonBar1 = new TXTextControl.ButtonBar();
buttonBar1.ButtonStyle = TXTextControl.ButtonStyle.ColorScheme;
buttonBar1.ButtonPositions = new TXTextControl.Button[] {
TXTextControl.Button.FontBoldButton,
TXTextControl.Button.FontItalicButton };
buttonBar1.BorderStyle = TXTextControl.ButtonBarBorderStyle.ColorScheme;
TXTextControl.ButtonBar.Colors colors = new TXTextControl.ButtonBar.Colors();
colors.BackColor = System.Drawing.Color.White;
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.FontItalicButton}
buttonBar1.BorderStyle = TXTextControl.ButtonBarBorderStyle.ColorScheme
Dim colors As TXTextControl.ButtonBar.Colors = New TXTextControl.ButtonBar.Colors()
colors.BackColor = System.Drawing.Color.White
buttonBar1.DisplayColors = colors
Constructor | Description |
---|---|
Colors | Initializes a new instance of the Button |
Method | Description |
---|---|
Reset |
Resets the button bar's Back |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Button |
Reset |
Resets the button bar's Combo |
Reset |
Resets the button bar's Fore |
Reset |
Resets the button bar's Gradient |
Reset |
Resets the button bar's Separator |
Reset |
Resets the button bar's Separator |
Property | Description |
---|---|
Back |
Gets or sets the background color at the left edge of the button bar. |
Button |
Gets or sets the background color at the bottom of a button. |
Button |
Gets or sets the background color in the middle of a button. |
Button |
Gets or sets the background color at the top of a button. |
Button |
Gets or sets the frame color of a selected or pressed button. |
Button |
Gets or sets the background color at the bottom of a button, if the mouse cursor is over the button. |
Button |
Gets or sets the background color at the top of a button, if the mouse cursor is over the button. |
Button |
Gets or sets the background color at the bottom of a button used when the button is pressed down. |
Button |
Gets or sets the background color at the top of a button used when the button is pressed down. |
Button |
Gets or sets the background color at the bottom of a button used when the button is selected. |
Button |
Gets or sets the background color at the top of a button used when the button is selected. |
Combo |
Gets or sets the background color of the combo boxes. |
Fore |
Gets or sets the color used for text and the button images. |
Gradient |
Gets or sets the background color at the right edge of the button bar. |
Separator |
Gets or sets the color of the dark part of a separator. |
Separator |
Gets or sets the color of the light part of a separator. |