# PageBorder.LeftLineColor Property

> Gets or sets the color of the left border line.

- **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 > PageBorder.LeftLineColor Property
- **455 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinecolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinecolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinecolor-property/llms-full.txt

---

### Description

Gets or sets the color of the left border line.

### Syntax

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

```vbnet
Public Property LeftLineColor As Color
```

### Examples

The following example configures the page border of the first document section by using `PageBorder.LeftLineColor`.

```csharp
PageBorder pageBorder = textControl.Sections[1].Format.PageBorder;

pageBorder.LeftLineColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Left Line Color used by Page Border: {pageBorder.LeftLineColor}");
```

```vbnet
Dim pageBorder As PageBorder = textControl.Sections(1).Format.PageBorder

pageBorder.LeftLineColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Left Line Color used by Page Border: {pageBorder.LeftLineColor}")
```

### Remarks

The property's default value is the system color for text.

The property returns its default value when the text selection contains multiple sections with mixed setting. The [Selection.IsCommonValueSelected](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selection/iscommonvalueselected-method/llms-full.txt) method can be used to check for mixed attributes.

---

## Nearby

- **Previous:** [PageBorder.LeftDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftdistance-property/llms-full.txt)
- **Next:** [PageBorder.LeftLineWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pageborder/leftlinewidth-property/llms-full.txt)
