Profile Picture

Auto-wrap text in a NTreeViewEx when TextProcessMode set to RichText

Posted By Patrick Bergeron 13 Years Ago

Auto-wrap text in a NTreeViewEx when TextProcessMode set to RichText

Author
Message
Patrick Bergeron
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 7, Visits: 1
Is it possible to have the text in a NTreeViewEx tree node automatically wrap to the next line if the node's TextProcessMode property is set to ItemTextProcessMode.RichText?

Right now, I am having to place
elements in the text to get the break, but I would prefer to have the text size to fit the width of the node since the node tracks the width of the tree view (nTreeViewEx1.ExpandToRight = true).

If I could have my way, I would like to set the max lines to 3 and just have the node show 3 lines worth of text based on the width. If the text extends beyond 3 lines, the node would automatically show the 3 ellipsis.

Any help would be great. Thanks.




Similar Topics


Reading This Topic