TXTextControl.Windows.Forms.Ribbon.HorizontalRibbonGroup Class

The HorizontalRibbonGroup class represents a logical group of controls as they appear on a RibbonTab. An instance of a HorizontalRibbonGroup can be added to a RibbonTab by using the Add method of its RibbonGroupCollection which is represented by the RibbonTab.RibbonGroups property. The controls of a HorizontalRibbonGroup are arranged in rows. To arrange them in columns it is recommend to use an instance of type RibbonGroup. A HorizontalRibbonGroup is inherited from the RibbonGroup class. The following describes only the properties, methods and events defined through the HorizontalRibbonGroup class.

Introduced: 24.0.

Syntax

[C#]
public class HorizontalRibbonGroup : RibbonGroup
[Visual Basic]
Public Class HorizontalRibbonGroup
  Inherits RibbonGroup

Constructors

Constructor Description
HorizontalRibbonGroup Initializes a new instance of the HorizontalRibbonGroup class.

Properties

Property Description
DialogBoxLauncher Gets an object of type DialogBoxLauncher which represents the RibbonGroup's dialog box launcher item. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
IsAddToQuickAccessToolbarEnabled Gets or sets a value whether the RibbonGroup can be added to the quick access toolbar. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
LargeIcon Gets or sets a 32x32 icon for this RibbonGroup. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
RibbonItems Gets a collection of all items contained in this group. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
RowCount Gets or sets the number of rows in the RibbonGroup. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
ShowSeperator Gets or sets a value whether the RibbonGroup's seperator is shown. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
SmallIcon Gets or sets a 16x16 icon for this RibbonGroup. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
Text Overridden. Gets or sets the RibbonGroup's footer text. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)
ToolTip Gets an object of type RibbonToolTip that displays text when the mouse pointer hovers over this RibbonGroup. (Inherited from Windows.Forms.Ribbon.RibbonGroup.)

Methods

Method Description
Add Adds a control of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator to the end of a specific row inside the horizontal ribbon group.
AddRange Adds an array of controls to the end of a specific row.
Insert Inserts a control of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator at the specified index.
InsertRange Inserts an array of controls at the specified index.

See Also