TX Text Control .NET for WPF

BackColor 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 background color at the left or top edge of the ruler bar.

Syntax

public Color BackColor { get; set; }

Examples

The following example uses RulerBarColors.BackColor to set the ruler bar colors's background color. The configured value is checked before the workflow continues.

rulerBarColors.BackColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Back Color used by Ruler Bar Colors: {rulerBarColors.BackColor}");