DevExpress: Image ComboBox Edit in C#

By FoxLearn 7/18/2017 9:06:52 PM   6.82K
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);
}

VIDEO TUTORIALS