How to set the parameters for a treeview node?

May 31, 2013 at 12:32 AM
Edited May 31, 2013 at 12:32 AM

To star with, I have to say thank-you. I have been searching for months for this. It took a little time to crack how to make my flat collection work, but a little LINQ has fixed that.

I've got the treeview working well in my code, but each time I rebuild it, all the nodes collapse. I want to be able to say which are expanded or not.

Is there an easy way to do that?