Wordwrap for .NET Combo Boxes

Posted on 2004-11-09
Last Modified: 2010-04-24
i have a windows application with rather long items(strings) in its i tems collection. i there any way i could wrap the words for these items to 2 lines if possible.
i am not a newbie so please dont waste time asking to many unnecessary quetion, just tell me if it can be done or not
Question by:Kanye486
    LVL 96

    Expert Comment

    by:Bob Learned
    The answer is maybe.  If you can do it with a ListBox, I don't see why you could do it with a ComboBox:

    An editable multi-line listbox for .NET

    LVL 85

    Accepted Solution

    >> just tell me if it can be done or not

    Yes.  Set the DrawMode to DrawMode.OwnerDrawVariable and then draw each string accordingly.


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now