Link to home
Create AccountLog in
Avatar of motokent
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
Avatar of nepaluz
nepaluz
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
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(TextBox1.Text)
Avatar of motokent
motokent

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.