I guess you will need to write your own method for that.
Simple way would be to iterate over the treeview and save the state of each item in a xml format. Something like -
<Root>
<Item index ="0" hasChildren="true" expanded="true/false" >
<Item index ="0" hasChildren="false" expanded="false" />
<Item index ="1" hasChildren="false" expanded="false" />
</Item>
<Item index ="1" hasChildren="false" expanded="false" />
.......
</Root>
<Root>
<Item index ="0" hasChildren="true" expanded="true/false" >
<Item index ="0" hasChildren="false" expanded="false" />
<Item index ="1" hasChildren="false" expanded="false" />
</Item>
<Item index ="1" hasChildren="false" expanded="false" />
.......
</Root>
To copy to clipboard, switch view to plain text mode
Bookmarks