none
TreeView Question - What is best coding method to initialize large tree based on default pattern?

    Question

  • Hi, I have a treeview (tri state with checkboxes) that I am using to represent some data.  The way I initialize it is I first build all the nodes using loops, then I have a function that iterates though the nodes and marks certain ones checked = true as well as sets a backColor for others. 

    My question is I find it tedious to build it this way using for loops and was wondering if there is another easier way to build and maintain.  Bascially I need to set it up to a default so it starts the same way each time, but the user at run time can modify it if needed. 

    Saturday, March 10, 2012 10:46 PM

Answers

All replies