Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box with multiple columns
Message
 
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01447265
Message ID:
01447283
Views:
25
>>Hi,
>>
>>I can see that out of the box WinForms combo box does not have ability to have more than one column in the pull-down list (very unfortunately). I found an article on web describing how create a custom combo box using a form with ListView as part of the control. The article is not very clear but since it comes with a source, hopefully I can see how to do it. The article is dated 2002. Do you know of any new approaches that maybe someone came up since 2002 for making combo show multiple columns?
>
>WPF (g)
>
>Seriously - you could host a WPF Combobox in a ElementHost control.
>e.g: http://www.switchonthecode.com/tutorials/wpf-tutorial-using-wpf-in-winforms
>But, of course, once you do that you're committed to including WPF DLLs with the application. Plus you'd have more work wiring up any bindings :-{

Thanks, Viv. WPF is not in the picture right now :) By the time I am ready for WPF, they will call it old and outdated technology :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform