TX Text Control .NET for Windows Forms

SeperatorAlignment Enumeration

Enumeration
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.

Description

Determines the alignment of the RibbonSeperator:

Syntax

public enum RibbonSeperator.SeperatorAlignment

Members

MemberValueDescription
Horizontal0The separator is aligned horizontally.
Vertical1The 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.

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