The Ruler
public class RulerBar.ColorsPublic Class RulerBar.Colors Introduced: 15.1.
The following example shows a Ruler
TXTextControl.RulerBar.Colors rulerBarColors = new TXTextControl.RulerBar.Colors();
rulerBarColors.BackColor = TXTextControl.RulerBar.Colors.White;
rulerBarColors.ForeColor = TXTextControl.RulerBar.Colors.Yellow;Dim rulerBarColors As TXTextControl.RulerBar.Colors = New TXTextControl.RulerBar.Colors()
rulerBarColors.BackColor = TXTextControl.RulerBar.Colors.White
rulerBarColors.ForeColor = TXTextControl.RulerBar.Colors.Yellow
End Sub| Constructor | Description |
|---|---|
| Colors | Initializes a new instance of the Ruler |
| Method | Description |
|---|---|
| Reset |
Resets the ruler bar's Back |
| Reset |
Resets the ruler bar's Fore |
| Reset |
Resets the ruler bar's Gradient |
| Reset |
Resets the ruler bar's Ruler |
| Reset |
Resets the ruler bar's Separator |
| Reset |
Resets the ruler bar's Separator |
| Property | Description |
|---|---|
| Back |
Gets or sets the background color at the left or top edge of the ruler bar. |
| Fore |
Gets or sets the color used for the numbers of the ruler. |
| Gradient |
Gets or sets the background color at the right or bottom edge of the ruler bar. |
| Ruler |
Gets or sets the color of the ruler. |
| Separator |
Gets or sets the color of dark separators. |
| Separator |
Gets or sets the color of light separators. |