SeperatorAlignment Enumeration
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
Determines the alignment of the RibbonSeperator:
Syntax
public enum RibbonSeperator.SeperatorAlignmentPublic Enum RibbonSeperator.SeperatorAlignmentMembers
| 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.
TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment value = TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment.Horizontal;
Console.WriteLine($"Using Seperator Alignment: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment = TXTextControl.Windows.Forms.Ribbon.RibbonSeperator.SeperatorAlignment.Horizontal
Console.WriteLine($"Using Seperator Alignment: {value}")