The attached source code is a C# application that demonstrates how to create a custom ComboBox control in Windows Forms.
Simply run the code, click on the ComboBox drop down and you will see a form like this:

Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
The attached source code is a C# application that demonstrates how to create a custom ComboBox control in Windows Forms.
Simply run the code, click on the ComboBox drop down and you will see a form like this:

NickPosted Apr 13, 2007, 10:13 AM
Hi, Is it possible to add items of different formats into a ComboBox? For example: 1st item is a normal string..2nd item is in BOLD. Thanks in advance..! Cheers, ~Dillip