Alignment Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets the alignment of this RibbonSeperator. If the separator is added to the drop down menu of a RibbonMenuButton or to the Ribbon.ApplicationMenuItems collection the separator is aligned horizontally. Adding the separator to a HorizontalRibbonGroup the separator causes a vertical alignment.
Syntax
public RibbonSeperator.SeperatorAlignment Alignment { get; }Public ReadOnly Property Alignment As RibbonSeperator.SeperatorAlignmentExamples
The following example includes the alignment value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Alignment: {ribbonSeperator.Alignment}");
Console.WriteLine("Ribbon Seperator is ready for use.");Console.WriteLine($"Alignment: {ribbonSeperator.Alignment}")
Console.WriteLine("Ribbon Seperator is ready for use.")Limitations
Read only.