TX Text Control .NET for WPF

DesktopColor Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.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 TextControlColors.DesktopColor to configure desktop color as part of the text control colors workflow. The configured value is checked before the workflow continues.

textControlColors.DesktopColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Desktop Color used by Text Control Colors: {textControlColors.DesktopColor}");