LeftBorderColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets or sets the color of the table cell's left border.
Syntax
public Color LeftBorderColor { get; set; }Public Property LeftBorderColor As ColorExamples
The following example creates a small report table and works with its structure by using TableCellFormat.LeftBorderColor.
textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableCellFormat tableCellFormat = table.Cells[1, 1].CellFormat;
tableCellFormat.LeftBorderColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Left Border Color used by Table Cell Format: {tableCellFormat.LeftBorderColor}");textControl.Tables.Add(3, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
Dim tableCellFormat As TableCellFormat = table.Cells(1, 1).CellFormat
tableCellFormat.LeftBorderColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Left Border Color used by Table Cell Format: {tableCellFormat.LeftBorderColor}")