I’m using a treeview to display some DB hierarchically data, by populating with recursion.
I use node.name property as unique object ID from DB (the key) and node.text for objects friendly name.
Now since I already use some queries to populate the TV, would be nice to store some other objects properties that I may need in app but ‘nodes’ haven’t any custom properties, except node.tag which I already use.
The question is can I have something like custom nodes (with custom properties) and still can be linked to treeview?
Thanks in advance,
You could still use the
Tagproperty to store a structure/List/Dictionary of properties.Example :