Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron User Interface for .NET
»
NTreeViewEx Node Text Wrapping
NTreeViewEx Node Text Wrapping
Post Reply
NTreeViewEx Node Text Wrapping
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
igor komarnitski
igor komarnitski
posted 11 Years Ago
ANSWER
Topic Details
Group: Forum Members
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.
Tags
NTreeViewEx
WinForm
Reply
Like
0
Nevron Support
Nevron Support
posted 11 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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
Reply
Like
0
igor komarnitski
igor komarnitski
posted 11 Years Ago
ANSWER
Post Details
Group: Forum Members
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.
Reply
Like
0
Nevron Support
Nevron Support
posted 11 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search