ImageComboBoxItem(Int32) Constructor
In This Article
Creates a new instance of the ImageComboBoxItem class and initializes the item’s ImageComboBoxItem.ImageIndex property.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
image |
Int32 | The value to initialize the Image |
#Remarks
The constructor creates a new instance of the ImageComboBoxItem class and initializes the item’s ImageComboBoxItem.ImageIndex property with the specified value.
The ImageComboBoxItem.Description and ComboBoxItem.Value properties are set to null.
After an item is created, you can add it to the collection using the ImageComboBoxItemCollection.Add method.
See Also