ImageComboBoxItem() Constructor
In This Article
Creates a new instance of the ImageComboBoxItem class and sets all its properties to their default values.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Remarks
The constructor creates a new instance of the ImageComboBoxItem class and sets all its properties as follows:
- ComboBoxItem.Value to null
- ImageComboBoxItem.Description to an empty string
- ImageComboBoxItem.ImageIndex to -1
After an item is created, you can add it to the collection using the ImageComboBoxItemCollection.Add method.
Note: To ensure proper functionality of the ImageComboBoxEdit control, item values must be unique within the item collection.
See Also