identifying a node in treeview

BjornF

Active Member
Licensed User
Longtime User
Is there some way to identify a given node - except through the text of that node? That is, in the example below the node "Great-Grandson" could be identified as 2.0.0 or "Grandchildren3" as 2.2.

all the best / Björn
 

Attachments

  • treeview.jpg
    13.4 KB · Views: 200

John F. Eldredge

Member
Licensed User
If you aren't using images on the treeview, you can use the node's ImageIndex property to store a number, which in turn could be an index value into an array storing additional information about the node.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…