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


Auto-wrap text in a NTreeViewEx when TextProcessMode set to RichText
Author
Message
Patrick Bergeron
Patrick Bergeron
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
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search