BackColor Property
- 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; }Public Property BackColor() As System.Drawing.ColorExamples
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}");textControlSettings.BackColor = Nothing
Dim configuredValue = textControlSettings.BackColor
Console.WriteLine($"Back Color used by Text Control Settings: {configuredValue}")