Is it possible to add text, and a value, to a tree node?
For example, a node may have the text Desktop, but the value is C:\Documents and Settings\All Users\Desktop.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You may to use Tag property for storing values:
Advantage is that you can assign to Tag any object you want not just integer or string value.
Then you can use Tag as follow: