TextControlColors Constructor
- Namespace
TXTextControl.WPF
- 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.TextControlColors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the WPF.TextControl.DisplayColors property, non-set colors are reset to their default values.
Syntax
public TextControlColors();Public Sub New()Examples
The following example creates a Text Control Colors instance for a document-processing operation. The created object is then available to the surrounding document workflow.
TXTextControl.WPF.TextControlColors textControlColors = new();
Console.WriteLine("Text Control Colors is ready for use.");Dim textControlColors As New TXTextControl.WPF.TextControlColors()
Console.WriteLine("Text Control Colors is ready for use.")