# SectionFormat.ColumnLineColor Property

> Gets or sets the color of a dividing line between two columns.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.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 > SectionFormat.ColumnLineColor Property
- **455 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/sectionformat/columnlinecolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/sectionformat/columnlinecolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/sectionformat/columnlinecolor-property/llms-full.txt

---

### Description

Gets or sets the color of a dividing line between two columns.

### Syntax

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

```vbnet
Public Property ColumnLineColor As Color
```

### Examples

The following example configures the layout of the first document section by using `SectionFormat.ColumnLineColor`.

```csharp
SectionFormat sectionFormat = textControl.Sections[1].Format;

sectionFormat.ColumnLineColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Column Line Color used by Section Format: {sectionFormat.ColumnLineColor}");
```

```vbnet
Dim sectionFormat As SectionFormat = textControl.Sections(1).Format

sectionFormat.ColumnLineColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Column Line Color used by Section Format: {sectionFormat.ColumnLineColor}")
```

### 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:** [SectionFormat.ColumnDistances Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/sectionformat/columndistances-property/llms-full.txt)
- **Next:** [SectionFormat.ColumnLineWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/sectionformat/columnlinewidth-property/llms-full.txt)
