We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

multiline nodes in treeview?

Is there any way to get the text for a node to span multiple lines--i.e. disable the horizontal scrolling and make the node text wrap within the width of the treeview?

Could something like this be done with owner draw?

2 Replies

MU Murugan Syncfusion Team August 3, 2006 12:31 AM UTC

Hi,

We are trying to create a sample according to your requirement.You will get an update with in 2 days.

Regards,
Murugan P.S


MU Murugan Syncfusion Team August 3, 2006 07:21 PM UTC

Hi,

Multiline nodes can be created using ownerDraws. You can change the size of the tree according to the size of the string using MesureString method. Herewith I have attached the sample for your reference. Please go through the sample and let me know if you have any queries.

MultilineNodes


Regards,
Murugan P.S

Loader.
Live Chat Icon For mobile
Up arrow icon