Hiding checkboxes for some nodes

jenny

New member
Joined
Nov 7, 2005
Messages
1
Programming Experience
1-3
I am using a treeview control in windows forms and I wish to show check-boxes next to only some of the nodes within the treeview control.
Now since the checkboxes property is linked with the tree-view control and not at individual tree-node level, I am unable to do so directly.

Is there some way to do this?
 
Not with a standard TreeView. You would have to inherit the TreeView class and handle that yourself. It may be that someone else has already done it and has posted their code, like on The Code Project or similar site, or at least there may be an inherited TreeView so you could get an idea of how to go about it yourself.
 
Back
Top