DevExpress: Image ComboBox Edit in C#

How to use Image Combobox Edit in C# with DevExpress

Step 1Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "ImageComboBoxEditExample" and then click OK

devexpress imagecomboboxeditStep 2: Design your form as below

c# imagecomboboxedit

You need to add an ImageCollection to your windows form application

Step 3: Add code to SelectedIndexChanged event handler as below

private void imageComboBoxEdit_SelectedIndexChanged(object sender, EventArgs e)
    DevExpress.XtraEditors.XtraMessageBox.Show(imageComboBoxEdit.EditValue.ToString(), "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);