TX Text Control .NET for Windows Forms

GradientBackColor 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 background color at the right or bottom edge of the ruler bar.

Syntax

public Color GradientBackColor { get; set; }

Examples

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

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