PC Review


Reply
Thread Tools Rate Thread

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

 
 
=?Utf-8?B?TXJOb2JvZHk=?=
Guest
Posts: n/a
 
      16th Sep 2005
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?
 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      16th Sep 2005
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.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"MrNobody" <(E-Mail Removed)> wrote in message
news:F20BDCF3-BD92-4AB3-87B7-(E-Mail Removed)...
> 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?



 
Reply With Quote
 
Siva M
Guest
Posts: n/a
 
      16th Sep 2005
AFAIK, there is no in-built way to do this.

"MrNobody" <(E-Mail Removed)> wrote in message
news:F20BDCF3-BD92-4AB3-87B7-(E-Mail Removed)...
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?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Treeview Checkboxes jamesdorringtonuk@googlemail.com Microsoft Dot NET Framework Forms 2 12th May 2009 03:11 AM
Expanding a treeview from a path for any number of levels. =?Utf-8?B?SmFtZXMgTA==?= Microsoft C# .NET 2 6th Feb 2006 12:05 PM
TreeView CheckBoxes =?Utf-8?B?SmFtZXMgTA==?= Microsoft C# .NET 2 29th Oct 2005 06:28 AM
Selected records by levels with Treeview? Mark McCauley Microsoft Access Forms 0 12th Feb 2004 07:58 PM
checkboxes in treeview Nathan Microsoft Dot NET Compact Framework 1 13th Nov 2003 11:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:41 PM.