Need image on left side of display text in ultracomboeditor in vb.net win form.
Please help.
I was able to insert display text but not the image. We have imagelist available.
Attaching my requirement.
Thanks in advance!
Hi Ratnank,
You can accomplish this by setting the Image property on the ValueListItem's Appearance object. For example, your code might look like this:
For index = 0 To UltraComboEditor1.ValueList.ValueListItems.Count - 1 UltraComboEditor1.ValueList.ValueListItems(index).Appearance.Image = images.Images(index)Next
Please try this out and let me know whether it works.
this worked for me, however i am not able to set images like a tree as per the display text See my initial attachment.
Thanks in advance