TXTextControl.Windows.Forms.Ribbon.HorizontalRibbonGroup.InsertRange Method

Inserts an array of controls at the specified index. These controls must be objects of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator.


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

The zero-based index at which the controls should be inserted.


An array of controls to be inserted to this group.


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


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

See Also