TX Text Control .NET for Windows Forms

TextBackColor Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the background color for the text.

Syntax

public Color TextBackColor { get; set; }

Examples

The following example uses TextControl.TextBackColor to configure text back color as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.TextBackColor = System.Drawing.Color.LightSteelBlue;
textControl.Update();