TX Text Control .NET Server

BackColor Property

Property|Introduced in 23.0
Namespace
TXTextControl.Web.MVC
Package
TXTextControl.Web as TXTextControl.Web.DocumentEditor.dll from nuget.org, the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public 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}");