Adds a control of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView, RibbonTextBox or RibbonSeperator to the end of a specific row inside the horizontal ribbon group.

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

public int Add(System.Windows.Forms.Control item, int row);

Parameters

Parameter Description
item The control to be added to this group.
row The row where to add the control. Valid values are 0, 1 or 2.

Return Value

The RibbonItems property's collection index at which the value has been added.

Limitations

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