Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron User Interface for .NET
NTreeViewEx Node Text Wrapping
https://www.nevron.com/Forum/Topic8730.aspx
By igor komarnitski
-
Tuesday, September 9, 2014
Hi. We just want to know if the node text can be automatically wrapped on control resizing when we use ItemTextProcessMode = RichText
And if yes, can you point us where is the documentation about RichText tags and NTreeViewEx?
Thank you.
By Nevron Support
-
Tuesday, September 9, 2014
Hi,
You need to set size attribute of font tag:
int someSize = 30;
nTreeViewEx1.Nodes[0].Text = "<font size=\'" + someSize.ToString() + "\'>Some Text</font>";
I hope this helps.
By igor komarnitski
-
Tuesday, September 9, 2014
Tried this solution. Still no effect. The node became bigger in size but still straight line when i resize treeviewEx control. It's import to know if the WordWrap is working using RichText mode and if height of the mode can be auto sized. I see this effect in Tree List Notes example.
Thank you.
By Nevron Support
-
Thursday, September 11, 2014
When text is in RichText mode you only can make a new line manually using <br /> tag.
In TreeList Notes example the text is in GdiPlus mode.