​
​
​

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

Syntax

​public System.Windows.Media.Color DesktopColor { get; set; }
​Public Property DesktopColor As System.Windows.Media.Color

Examples

The following example uses the DesktopColor property and sets its value to White.

​TXTextControl.WPF.TextControlColors colors = new TXTextControl.WPF.TextControlColors();

colors.DesktopColor    = System.Windows.Media.Colors.White;
colors.DarkShadowColor = System.Windows.Media.Colors.Black;
​Dim colors As TXTextControl.WPF.TextControlColors = New TXTextControl.WPF.TextControlColors()

colors.DesktopColor    = System.Windows.Media.Colors.White
colors.DarkShadowColor = System.Windows.Media.Colors.Black
​