TX Text Control .NET Server

BackColor Property

Property|Introduced in 22.0
Namespace
TXTextControl.Web
Package
None: the TX Text Control .NET Server setup installs it, for .NET Framework.
Assembly
TXTextControl.Web.dll

Description

Specifies or returns the background color of the main text area and the ruler bars.

Syntax

public System.Drawing.Color Backcolor { get; set; }

Examples

In the current ASP.NET Core integration, BackColor is configured through TextControlSettings. The following example sets it while creating the editor configuration.

textControlSettings.BackColor = default(System.Drawing.Color);
var configuredValue = textControlSettings.BackColor;
Console.WriteLine($"Back Color used by Text Control Settings: {configuredValue}");