TextColor Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the color for the text.
Syntax
public Color TextColor { get; set; }Public Property TextColor As ColorExamples
The following example uses TextControlColors.TextColor to configure text color as part of the text control colors workflow. The configured value is checked before the workflow continues.
textControlColors.TextColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Text Color used by Text Control Colors: {textControlColors.TextColor}");textControlColors.TextColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Text Color used by Text Control Colors: {textControlColors.TextColor}")