Answered treeview questions

darkcat02

Active member
Joined
Mar 4, 2009
Messages
38
Programming Experience
1-3
is there any properties where i can identify which treenode i am selecting besides on the tag and text??

like

VB.NET:
Expand Collapse Copy
parentnode
   -childnode
       -node

i need to identify if the selected node is in node or childnode or parent node...

is there any way?
 
Last edited:
The Level property of TreeNode comes to mind.
 
ok... what is the highest value or value of the parent? 0? 2? depends on the nodes...?

parent - 2
- child - 1
-child -0

or

parent - 0
-child - 1
-child - 2
 
Back
Top