BackColor Property
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Specifies or returns the background color of the main text area and the ruler bars.
Syntax
public Color BackColor { get; set; }Public Property BackColor As 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}")