Skip to main content

ImageComboBoxItem(Object) Constructor

Creates a new instance of the ImageComboBoxItem class and initializes the item’s value.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public ImageComboBoxItem(
    object value
)

Parameters

Name Type Description
value Object

The object to initialize the item’s ComboBoxItem.Value property.

Remarks

The constructor creates a new instance of the ImageComboBoxItem class and initializes the item’s ComboBoxItem.Value property with the specified object.

The ImageComboBoxItem.Description property is set to null and ImageComboBoxItem.ImageIndex is set to -1.

After an item is created, you can add it to the collection using the ImageComboBoxItemCollection.Add method.

See Also