Skip to main content

ImageComboBoxItem(String) Constructor

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public ImageComboBoxItem(
    string description
)

Parameters

Name Type Description
description String

The string to initialize the ImageComboBoxItem.Description property.

Remarks

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

The ComboBoxItem.Value 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