Skip to main content

ImageComboBoxItemCollection.Item[Int32] Property

Gets or sets an item at the specified position.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll


public ImageComboBoxItem this[int index] { get; set; }


Name Type Description
index Int32

The zero-based index of the item to return.

Property Value

Type Description

The item at the specified position.


You can use this property to access an item at the specified position. To add an item to the collection, see the ImageComboBoxItemCollection.Add, ImageComboBoxItemCollection.AddRange and ComboBoxItemCollection.Insert methods.

If index denotes a value greater than Count - 1, an exception of the ArgumentOutOfRangeException type is thrown.

The ComboBoxItemCollection.IndexOf method performs the opposite operation. It allows you to return the position of a specific item in the current collection.

See Also