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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Pictures in ComboBoxAdv

Thread ID:





67325 Aug 14,2007 11:25 AM UTC Oct 26,2007 02:37 PM UTC WinForms 3
Tags: Tools
Ben Fisher
Asked On August 14, 2007 11:25 AM UTC


I'd like to have a combo box that displays either just pictures or pictures with text.

From looking at the ComboBoxAdv I see that there are two properties that imply this can be done (and you can associated an image list with the control too). However I can't get it to work.

The properties are:

ShowImageInTextBox and

Does anyone have any idea how to do this?

Thank you.


Jeba S [Syncfusion]
Replied On August 14, 2007 12:35 PM UTC

Hi Ben,

Thank you for posting query to us.

You can use ComboBoxAdv.ImageList property to get/set ImageList for control and ComboBoxAdv.ImageIndexes property to set image Index for specified item.

//assign first image in ComboBoxAdv.ImageList to second item in items list.
this.comboBoxAdv1.ImageIndexes[2] = 0;

Then use ComboBoxAdv.ShowImageInTextBox property to show images in TextArea and use ShowImagesInComboListBox in the Listbox.

Please refer the sample which implements the above said feature:

Please refer this KB article which explains "How do I assign images to ComboBoxAdv items?"

Kindly let us know if you need any further assistance.

Thank you for using Syncfusion Products.

Best Regards,

Michael Sabin
Replied On October 19, 2007 08:36 PM UTC

Is there any way to set the images when you use a Datasource?

Jeba S [Syncfusion]
Replied On October 26, 2007 02:37 PM UTC

Hi Michael,

Sorry for the delay in response.

Yes. You can set the images when you use a Datasource. Pleas refer the below sample which shows the idea:

Kindly let us know if you need any further assistance.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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