How do I set only certain levels of a TreeView to have checkboxes?

G

Guest

The only property I can find to enable checkboxes on a TreeView affect the
whole tree - all levels.

What if I only want a certain level to have checkboxes?
 
N

Nicholas Paldino [.NET/C# MVP]

MrNobody,

You can't do this out of the box. If you want, you can handle the
repainting of the control, but thats a pretty big task, to do all the layout
work, etc, etc yourself.

Hope this helps.
 
S

Siva M

AFAIK, there is no in-built way to do this.

The only property I can find to enable checkboxes on a TreeView affect the
whole tree - all levels.

What if I only want a certain level to have checkboxes?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top