We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to make an ImageCombobox?

To have an Image ComboBox, descriptions of the images are added into an arraylist and the images in the imagelist are bound with the Dropdown, that is the GridListControl. The GridListControl’s look and feel are created in such a manner that it looks like a list box containing the images. The following code examples explain how to create it.

  1. Setting the GridListControl properties to look and feel similar to a ComboBox Dropdown.

C#

 

VB

 

  1. Combining the GridControl, GridListControl, ArrayList, and ImageList.

C#

 

VB

 

  1. The CurrentCellCloseDrop event is used to assign the selected image to the cell of the GridControl.

C#

 

VB

 

Figure 1: Image ComboBox in the GridControl

Sample Link:

 

C#: ImageComboBox CS

VB: ImageComboBox VB

Article ID: Published Date: Last Revised Date: Platform: Control:
703 04/30/2011 02/08/2017 Windows Forms GridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon