I’m working with application, which use TreeView. I want some nodes have
checkBoxes, but not all.
I know that I can do:
treeView.CheckBoxes = true;
But then all nodes have checkBox. How can I add checkBox only for selected
nodes?
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.
Looking at the TreeNode class it seems you’ll have to implement a custom
OnDrawNodefunction and perform someTagmanipulation.An example: http://social.msdn.microsoft.com/forums/en-US/winforms/thread/9fbc737b-8385-4285-aa80-0e4602ff5b9b/