TX Text Control .NET for Windows Forms

DesktopColor Property

Property|Introduced in 15.1
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the display color for the area around the pages.

Syntax

public Color DesktopColor { get; set; }

Examples

The following example uses Colors.DesktopColor to configure desktop color as part of the colors workflow. The configured value is checked before the workflow continues.

colors.DesktopColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Desktop Color used by Colors: {colors.DesktopColor}");