Multiline TreeNode

  • Thread starter Thread starter royclem
  • Start date Start date
R

royclem

Greetings,

The Text property for a TreeNode only displays one line. For
example:

Root Node
|
|
- Child Node Line 1
|
|
- Child Node 2

However, I need a TreeNode that displays multiple lines of strings.
For
example:

Root Node
|
|
- Child Node Line 1
Child Node Line 2
Child Node Line 3
Child Node Line 4
|
|
- Child Node 2

Does anyone know how to do this or can point me to a reference where I
can create a custom TreeNode class? At this point in time, a
third-party
solution is not an option.

Thanks!
 
Hi,

http://www.thecodeproject.com/vb/net/vbnettreelistview.asp

Ken
------------------
royclem said:
Greetings,

The Text property for a TreeNode only displays one line. For
example:

Root Node
|
|
- Child Node Line 1
|
|
- Child Node 2

However, I need a TreeNode that displays multiple lines of strings.
For
example:

Root Node
|
|
- Child Node Line 1
Child Node Line 2
Child Node Line 3
Child Node Line 4
|
|
- Child Node 2

Does anyone know how to do this or can point me to a reference where I
can create a custom TreeNode class? At this point in time, a
third-party
solution is not an option.

Thanks!
 
Back
Top