TX Text Control .NET for Windows Forms

BorderColor Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the TX Drawing Control's border line color. The default value is System.Drawing.SystemColors.WindowText.

Syntax

public Color BorderColor { get; set; }

Examples

The following example uses TXDrawingControl.BorderColor to configure border color as part of the txdrawing control workflow. The change is then applied to the active document or user interface.

tXDrawingControl.BorderColor = System.Drawing.Color.LightSteelBlue;
tXDrawingControl.Update();