Treeview Expand/collapse All

  • Thread starter Thread starter Mary
  • Start date Start date
M

Mary

I am using dot net with C#, I have a working treeview, how
do i do expand/collapse all?
thank you
 
Assuming your treeview is named treeview1 perform the following after
loading your node collection

....
treeView1.ExpandAll();
//or
treeView1.CollapseAll();
....
 
Back
Top