# PageBorder.BottomLineColor Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 17.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl > PageBorder.BottomLineColor Property
- **458 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/bottomlinecolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/bottomlinecolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/bottomlinecolor-property/llms-full.txt

---

### Description

Gets or sets the color of the bottom border line.

### Syntax

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

```vbnet
Public Property BottomLineColor As Color
```

### Examples

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

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

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

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

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

### 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-wpf/reference/txtextcontrol/selection/iscommonvalueselected-method/llms-full.txt) method can be used to check for mixed attributes.

---

## Nearby

- **Previous:** [PageBorder.BottomDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/bottomdistance-property/llms-full.txt)
- **Next:** [PageBorder.BottomLineWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/pageborder/bottomlinewidth-property/llms-full.txt)
