DesktopColor Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the display color for the area around the pages.
Syntax
public Color DesktopColor { get; set; }Public Property DesktopColor As ColorExamples
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}");textControlColors.DesktopColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Desktop Color used by Text Control Colors: {textControlColors.DesktopColor}")