I am trying to figure out how to highlight a node on a treeview at runtime, I know the node index but cannot see how I can select it in Code. Also how can I collapse any other open node’s and expand the selected one in code
thanks
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.
1) Collapse the Treeview using the the FullCollapse method
2) To Select (highlight) a Node assign the Selected property
3) Expand the selected Node using the
Expandmethod