wrap text in RAD tree view

2 posts, 0 answers
  1. Deepesh
    Deepesh avatar
    3 posts
    Member since:
    Nov 2010

    Posted 19 Nov 2010 Link to this post

    can i wrap text in RAD tree View control
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 19 Nov 2010 Link to this post

    Hi Deepesh,

    You can use HTML-Like formatting, but I would advise against it in this case.
    Me.RadTreeView1.Nodes.Add("<html>Here is some really long text, <br>I'm going to try and make it wrap</html>")

    The node renders up to two lines (one line break) but when selecting the node, only the first line text will show as highlighted and this would be very confusing for the user as to where one node text stops and the next one starts, and may cause confusion when only the first line is showing as selected.

    Hope this helps
  3. DevCraft banner
Back to Top