dotnet add package TXTextControl.TextControl.WinForms.SDK.NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
ColorBase
RulerBar.Colors
Description
The RulerBar.Colors class gets, sets or resets the display colors of a Windows Forms 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.
Initializes a new instance of the RulerBar.Colors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the RulerBar.DisplayColors property, non-set colors are reset to their system dependent default values.