Group: Forum Members
Last Active: 10 Years Ago
Posts: 2,
Visits: 4
|
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.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,000
|
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.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 10 Years Ago
Posts: 2,
Visits: 4
|
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.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,000
|
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.
Best Regards, Nevron Support Team
|