motokent
asked on
Is it possible to add a line break in a treeview node text?
I have a vb.net windows application with a treeview. Is it possible to add a line break to the node text?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Maybe you can use the tooltip text to show some extra information (if it's ok for you)
If possible try with the multiline textbox and use below
TreeView1.Nodes.Add(TextBo x1.Text)
TreeView1.Nodes.Add(TextBo
ASKER
I tried all the suggestions and none gave me multiple lines. It looks as if it is not possible. Thanks for all the responses.