SubClassing the Node type
Posted on 1998-08-26
Here is the problem I'm using the TreeView control to represent a system that is being developed be the customers, but I need to save more information then I can currently save in a node. ie currently I'm using the Text Property, Tag Property, and Icon Property. But I need one more piece of information saved with each node.
What I was wondering is if it is possible to subclass the node class and make the TreeView control using this new node type. The new node type would have an additional property called Number (or something more descriptive).
I need some examples on how this can be accomplished.