I have a VB.NET treeview control that is five levels deep. I am trying to figure out how to determine which level a given node is at. For instance if the hierarchy is as follows:
Root
Branch
Bough
Limb
Leaf
I would like return the value that the currently selected node is at, be it branch or limb or whatever. Is there a built in property in the the Treeview that returns this or is the a relatively simple way code for it?
Root
Branch
Bough
Limb
Leaf
I would like return the value that the currently selected node is at, be it branch or limb or whatever. Is there a built in property in the the Treeview that returns this or is the a relatively simple way code for it?