Expand Tree Nodes by default in a Treeview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In VB.Net 2005:
1. how do I expand all node in a treeview by default.
2. Restrict users to collapse a node.

Thanks
 
Sean said:
1. how do I expand all node in a treeview by default.
2. Restrict users to collapse a node.

I strongly recommend to check out the documentation on the 'TreeView' class,
especially on the 'BeforeCollapse' and 'BeforeExpand' events and the
'TreeNode' class' 'Expand' and 'Collapse' methods.
 
Back
Top