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.

Syntax

[C#]
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
index

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

items

An array of controls to be inserted to this group.

row

The row where to insert 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