You can also see an example of another approach in the documentation here: https://docs.wisej.com/docs/controls/lists/combobox
In this example, you use data binding with a data source with icon names and use the IconMember to specify the property.
Here’s a sample.
Yes, it’s possible. It’s actually quite simple.
First, look at the properties of your combobox in the designer. Set AllowHtml to True.
Now that AllowHtml is true, you can use a HTML img tag to embed an image in the text of the combobox.
I’ve attached a sample- just go to the combobox in the designer and click on “Edit Items” to see the img tags that I used.
You can use an image that is stored in the project by using a relative file path, or you can use an online image by providing a url that links to the image.
Please login first to submit.