NTreeViewEx Node Text Wrapping
Home
»
.NET (WinForms and ASP.NET) Products
»
Nevron User Interface for .NET
https://www.nevron.com/Forum/Topic8730.aspx
Print Topic
|
Close Window
By igor komarnitski
-
10 Years Ago
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
-
10 Years Ago
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
-
10 Years Ago
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
-
10 Years Ago
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.