Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: c# treeview  (Read 4873 times)

0 Members and 1 Guest are viewing this topic.

zaryk

  • Guest
c# treeview
« on: April 02, 2008, 09:20:51 AM »
I have created a tree view, I wont get into details about it, but I would like, when the program is opened, to have the tree view minus/plus to start out as showing minus.  In other words, the tree view expanded at startup.  Can anyone help me with this?
« Last Edit: April 02, 2008, 05:59:22 PM by zaryk »

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: c# treeview
« Reply #1 on: April 02, 2008, 06:25:51 PM »
I guess you will put your code in the form load event. I did find two treeview methods which may be helpful: ExpandAll and CollapseAll.

For more information see Treeview

Good luck. 8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

zaryk

  • Guest
Re: c# treeview
« Reply #2 on: April 02, 2008, 09:56:26 PM »
cool thanks.