RibbonSeperator Class
- 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
- Inherits
- Control
- Ribbon
Seperator
Description
The RibbonSeperator class represents a control that provides a separator between elements in a HorizontalRibbonGroup, an ApplicationMenu or a drop-down menu of a RibbonMenuButton. The separator cannot be added to the RibbonItems collection of a RibbonGroup which is not an object of type HorizontalRibbonGroup. The RibbonSeperator class is inherited from the System.Windows.Forms.Control class. The following describes only the properties, methods and events defined through the RibbonSeperator class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class see the .NET Framework reference.
Syntax
public class RibbonSeperator : ControlPublic Class RibbonSeperator
Inherits ControlExamples
The following example creates a Ribbon Seperator instance and configures its enabled setting for a document workflow.
using TXTextControl.Windows.Forms.Ribbon.RibbonSeperator ribbonSeperator = new();
ribbonSeperator.Enabled = true;Dim ribbonSeperator As New TXTextControl.Windows.Forms.Ribbon.RibbonSeperator()
ribbonSeperator.Enabled = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| RibbonSeperator | Initializes a new instance of the RibbonSeperator class. |
Properties
| Property | Description |
|---|---|
| Alignment | 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. |
| Enabled | Not described in the reference. public bool Enabled { get; set; } |
| ParentCollection | Gets the RibbonItemCollection that contains this RibbonSeperator. |
| Visible | Not described in the reference. public bool Visible { get; set; } |