BorderColor Property
- Namespace
TXTextControl.WPF. Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the TX Drawing Control's border line color.The default value is null and represents the color System.Windows.SystemColors.WindowTextColor.
Syntax
public Color? BorderColor { get; set; }Public Property BorderColor As Color?Examples
The following example uses TXDrawingControl.BorderColor to configure border color as part of the txdrawing control workflow. The configured value is checked before the workflow continues.
tXDrawingControl.BorderColor = System.Windows.Media.Colors.CornflowerBlue;
if (tXDrawingControl.BorderColor != null)
{
Console.WriteLine("TXDrawing Control: Border Color is available.");
}tXDrawingControl.BorderColor = System.Windows.Media.Colors.CornflowerBlue
If tXDrawingControl.BorderColor IsNot Nothing Then
Console.WriteLine("TXDrawing Control: Border Color is available.")
End If