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 line color. The default value is System.Drawing.Color.Black.
Syntax
public Color Color { get; set; }Public Property Color As ColorExamples
The following example uses Outline.Color to configure color as part of the outline workflow. The configured value is checked before the workflow continues.
outline.Color = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Color used by Outline: {outline.Color}");outline.Color = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Color used by Outline: {outline.Color}")