GradientBackColor 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 background color at the right or bottom edge of the ruler bar.
Syntax
public Color GradientBackColor { get; set; }Public Property GradientBackColor As ColorExamples
The following example uses RulerBarColors.GradientBackColor to configure gradient back color as part of the ruler bar colors workflow. The configured value is checked before the workflow continues.
rulerBarColors.GradientBackColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Gradient Back Color used by Ruler Bar Colors: {rulerBarColors.GradientBackColor}");rulerBarColors.GradientBackColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Gradient Back Color used by Ruler Bar Colors: {rulerBarColors.GradientBackColor}")