TXTextControl.Selection.TextBackColor Property

Gets or sets the background color for selected text.


public Color TextBackColor { get; set; }
[Visual Basic]
Public Property TextBackColor() As Color


The property's default value is the system color for the window background.

The property returns its default value when the text selection contains multiple characters with mixed colors. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

See Also