Gets or sets the color for the text.

Syntax

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

Examples

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

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

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

colors.DesktopColor  = System.Windows.Media.Color.White
colors.TextColor     = System.Windows.Media.Color.Black