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


Auto-wrap text in a NTreeViewEx when TextProcessMode set to RichText
Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Patrick,

You can't wrap text in NTreeViewEx nodes.
You should put break tags in your RichText formatted nodes to display text in multilines.

Best Regards,
Nevron Support Team


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