TextBackColor 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 background color for the text.
Syntax
public Color TextBackColor { get; set; }Public Property TextBackColor As ColorExamples
The following example uses TextControlColors.TextBackColor to configure text back color as part of the text control colors workflow. The configured value is checked before the workflow continues.
textControlColors.TextBackColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Text Back Color used by Text Control Colors: {textControlColors.TextBackColor}");textControlColors.TextBackColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Text Back Color used by Text Control Colors: {textControlColors.TextBackColor}")