# RibbonSeperator.SeperatorAlignment Enumeration

> Determines the alignment of the RibbonSeperator:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **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.Windows.Forms.Ribbon > RibbonSeperator.SeperatorAlignment Enumeration
- **543 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonseperator-seperatoralignment/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonseperator-seperatoralignment/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonseperator-seperatoralignment/enumeration/llms-full.txt

---

### Description

Determines the [alignment](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonseperator/alignment-property/llms-full.txt) of the [RibbonSeperator](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonseperator/llms-full.txt):

### Syntax

```csharp
public enum RibbonSeperator.SeperatorAlignment
```

```vbnet
Public Enum RibbonSeperator.SeperatorAlignment
```

### Members

| Member | Value | Description |
|---|---|---|
| Horizontal | 0 | The separator is aligned horizontally. |
| Vertical | 1 | The separator is aligned vertically. |

### Examples

The following example selects the Horizontal value from the Seperator Alignment enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment value = TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment.Horizontal;
Console.WriteLine($"Using Seperator Alignment: {value}");
```

```vbnet
Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment = TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment.Horizontal
Console.WriteLine($"Using Seperator Alignment: {value}")
```

---

## Nearby

- **Previous:** [RibbonSeperator.ParentCollection Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonseperator/parentcollection-property/llms-full.txt)
- **Next:** [RibbonSplitButton Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonsplitbutton/llms-full.txt)
