Inserts a control of the type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator at the specified index.

Insert(Int, System.Windows.Forms.Control)

public void Insert(int index, System.Windows.Forms.Control item);
Public Sub Insert(ByVal index As Integer, ByVal item As System.Windows.Forms.Control)

Parameters

Parameter Description
index The zero-based index at which the control should be inserted.
item The control to be inserted.

Limitations

If the RibbonItemCollection is optained by a HorizontalRibbonGroup controls are inserted to the group's first row.

If the RibbonItemCollection is optained by a HorizontalRibbonGroup RibbonButtons where the DisplayMode property is set to IconTextRelation.LargeIconLabeled cannot be inserted.