Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...