Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box with multiple columns
Message
De
03/02/2010 11:28:20
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01447265
Message ID:
01447282
Vues:
33
>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 :-{
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform