Colors Constructor
- Namespace
TXTextControl.WPF
- Type
TXTextControl.WPF. RulerBarColors
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Initializes a new instance of the WPF.RulerBarColors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the WPF.RulerBar.DisplayColors property, non-set colors are reset to their system dependent default values.
Syntax
public RulerBarColors();Public Sub New()Examples
The following example creates a Ruler Bar Colors instance for a document-processing operation. The created object is then available to the surrounding document workflow.
TXTextControl.WPF.RulerBarColors rulerBarColors = new();
Console.WriteLine("Ruler Bar Colors is ready for use.");Dim rulerBarColors As New TXTextControl.WPF.RulerBarColors()
Console.WriteLine("Ruler Bar Colors is ready for use.")