Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageComboBoxItemCollection.Item[Int32] Property

Gets or sets an item at the specified position.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Parameters

Name Type Description
index Int32

The zero-based index of the item to return.

#Property Value

Type Description
ImageComboBoxItem

The item at the specified position.

#Remarks

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