# TableCellFormat.LeftBorderColor Property

> Gets or sets the color of the table cell's left border.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 17.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TableCellFormat.LeftBorderColor Property
- **548 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/leftbordercolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/leftbordercolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/leftbordercolor-property/llms-full.txt

---

### Description

Gets or sets the color of the table cell's left border.

### Syntax

```csharp
public Color LeftBorderColor { get; set; }
```

```vbnet
Public Property LeftBorderColor As Color
```

### Examples

The following example creates a small report table and works with its structure by using `TableCellFormat.LeftBorderColor`.

```csharp
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}");
```

```vbnet
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}")
```

---

## Nearby

- **Previous:** [TableCellFormat.BottomTextDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/bottomtextdistance-property/llms-full.txt)
- **Next:** [TableCellFormat.LeftBorderWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/leftborderwidth-property/llms-full.txt)
