I am w开发者_运维知识库orking on win form application using C#. I came across a scenario where i need to provide a ComboBox to user. Now in order to make look and feel more appealing, i want to display a small image or icon before each item of that combo box.
I look across some third party controls providing this functionality, but i want to use the default combo box control of visual sutdio. How do i add image by using the default ComboBox control?
Not possible with the default combo box control from Windows Forms. You need a custom solution with an owner draw combo. See an example here.
精彩评论