Skip to main content

ImageComboBoxItemCollection.AddRange(ImageComboBoxItem[]) Method

Adds an array of items to the collection.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void AddRange(
    ImageComboBoxItem[] items
)

Parameters

Name Type Description
items ImageComboBoxItem[]

An array of ImageComboBoxItem objects representing items for the image combo box editor.

Remarks

The AddRange method adds an array of items to the current collection. Each array element represents an object of the ImageComboBoxItem class and this controls the item’s caption, value and image index.

See the ImageComboBoxItemCollection.Add method to add a single item to the collection.

To access individual items in the collection, see the ImageComboBoxItemCollection.Item index.

Note: To ensure correct functionality, items’ values must be unique within the collection.

See Also