TXTextControl.Windows.Forms.Ribbon.RibbonItemCollection.AddRange Method

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

Syntax

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

An array of controls to be added to the end of this collection.

Limitations

If the RibbonItemCollection is optained by a HorizontalRibbonGroup controls are added 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 added.

See Also