TXTextControl.Windows.Forms.Ribbon.HorizontalRibbonGroup.AddRange Method

Adds an array of controls to the end of a specific row. These controls must be objects of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator.

Syntax

[C#]
public void AddRange(System.Windows.Forms.Control[] items, int row);
[Visual Basic]
Public Sub AddRange(ByVal items() As System.Windows.Forms.Control, ByVal row As Integer)
Parameter Description
items

An array of controls to be added to this group.

row

The row where to add the controls. Valid values are 0, 1 or 2.

Limitations

RibbonButtons where the DisplayMode property is set to IconTextRelation.LargeIconLabeled cannot be added to a horizontal ribbon group.

See Also