​
​
​

Gets or sets the background color for the text.

Syntax

​public System.Windows.Media.Color TextBackColor { get; set; }
​Public Property TextBackColor As System.Windows.Media.Color

Examples

The following example uses the TextBackColor property and sets its value to Black.

​TXTextControl.WPF.TextControlColors colors = new TXTextControl.WPF.TextControlColors();

colors.DesktopColor  =  System.Windows.Media.Colors.White;
colors.TextBackColor =  System.Windows.Media.Colors.Black;
​Dim colors As TXTextControl.WPF.TextControlColors = New TXTextControl.WPF.TextControlColors()

colors.DesktopColor  = System.Windows.Media.Colors.White
colors.TextBackColor = System.Windows.Media.Colors.Black
​