Color Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the shape's fill color. The default value is a structure of type Systen.Drawing.Color with the values A=255, R=91, G=155 and B=213.
Syntax
public Color Color { get; set; }Public Property Color As ColorExamples
The following example uses Fill.Color to configure color as part of the fill workflow. The configured value is checked before the workflow continues.
fill.Color = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Color used by Fill: {fill.Color}");fill.Color = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Color used by Fill: {fill.Color}")