Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ComboBoxItem() Constructor

In This Article

Initializes a new instance of the ComboBoxItem class.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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