Returns or sets the color used to display the text at the current input position. If text is selected, the property specifies the text color of the whole selected text.

Syntax

public System.Drawing.Color? TextColor { get; set; }
Public Property TextColor() As Nullable(Of System.Drawing.Color)

Remarks

The property returns null when the text selection contains multiple characters with mixed colors.