TX Text Control .NET for Windows Forms Documentation

RulerBar.Colors Class

The RulerBar.Colors class gets, sets or resets the display colors of a RulerBar 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 ruler bar's BorderStyle property has been set to ColorScheme.

Introduced: 15.1.

Syntax

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

Constructors

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

Properties

PropertyDescription
BackColorGets or sets the background color at the left or top edge of the ruler bar.
ForeColorGets or sets the color used for the numbers of the ruler.
GradientBackColorGets or sets the background color at the right or bottom edge of the ruler bar.
RulerColorGets or sets the color of the ruler.
SeparatorColorDarkGets or sets the color of dark separators.
SeparatorColorLightGets or sets the color of light separators.

Methods

MethodDescription
ResetBackColorResets the ruler bar's BackColor to its system dependent default value.
ResetForeColorResets the ruler bar's ForeColor to its system dependent default value.
ResetGradientBackColorResets the ruler bar's GradientBackColor to its system dependent default value.
ResetRulerColorResets the ruler bar's RulerColor to its system dependent default value.
ResetSeparatorColorDarkResets the ruler bar's SeparatorColorDark to its system dependent default value.
ResetSeparatorColorLightResets the ruler bar's SeparatorColorLight to its system dependent default value.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now