TX Text Control .NET Server

TextBackColor Property

Property|Introduced in 12.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets or sets the background color for the text.

Syntax

public Color TextBackColor { get; set; }

Examples

The following example uses ServerTextControl.TextBackColor to configure text back color as part of the server text control workflow. The configured value is checked before the workflow continues.

textControl.TextBackColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Text Back Color used by Server Text Control: {textControl.TextBackColor}");