TX Text Control .NET for Windows Forms

RibbonSeperator Class

Class|Introduced in 24.0
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.
Inherits
  1. Control
  2. RibbonSeperator

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 : Control

Examples

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;

Members

Constructors

ConstructorDescription
RibbonSeperatorInitializes a new instance of the RibbonSeperator class.

Properties

PropertyDescription
AlignmentGets 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.
EnabledNot described in the reference. public bool Enabled { get; set; }
ParentCollectionGets the RibbonItemCollection that contains this RibbonSeperator.
VisibleNot described in the reference. public bool Visible { get; set; }