I have a list of objects, and each object contains an object below it.
(i.e. object library contains a collection of book objects, which in turn contain a collection of page objects)
I've used the objects hierarchy to create a treeview, which properly creates a tree based on the object hierarchy.
What I now want to do is have a user select a page, and based on the page's id, book id and library id, write information to an xml file.
how do I bind an index to a treenode, along with the text, so that I can reference back to the object itself? is there such a property?
(i.e. object library contains a collection of book objects, which in turn contain a collection of page objects)
I've used the objects hierarchy to create a treeview, which properly creates a tree based on the object hierarchy.
What I now want to do is have a user select a page, and based on the page's id, book id and library id, write information to an xml file.
how do I bind an index to a treenode, along with the text, so that I can reference back to the object itself? is there such a property?