Skip to main content
A newer version of this page is available. .

ComboBoxItem() Constructor

Initializes a new instance of the ComboBoxItem class.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public ComboBoxItem()

Remarks

The constructor sets the ComboBoxItem.Value property to null. Note: to ensure correct execution of a combo box editor, items in the collection must have unique values.

Do not create ComboBoxItem objects in order to add items for the ComboBoxEdit control. Instead, add objects representing items explicitly to the collection, for instance, using the ComboBoxItemCollection.Add method.

The current constructor is automatically invoked when creating items for the image combo box editor. See the ImageComboBoxItem class for more information.

See Also