# RulerBar.Colors.SeparatorColorDark Property

> Gets or sets the color of dark separators.

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

---

### Description

Gets or sets the color of dark separators.

### Syntax

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

```vbnet
Public Property SeparatorColorDark As Color
```

### Examples

The following example uses `Colors.SeparatorColorDark` to configure separator color dark as part of the colors workflow. The configured value is checked before the workflow continues.

```csharp
colors.SeparatorColorDark = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Separator Color Dark used by Colors: {colors.SeparatorColorDark}");
```

```vbnet
colors.SeparatorColorDark = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Separator Color Dark used by Colors: {colors.SeparatorColorDark}")
```

---

## Nearby

- **Previous:** [RulerBar.Colors.RulerColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/rulerbar-colors/rulercolor-property/llms-full.txt)
- **Next:** [RulerBar.Colors.SeparatorColorLight Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/rulerbar-colors/separatorcolorlight-property/llms-full.txt)
