Hi Chunghu,
Yes, you're right, this isn't supported. One option is to create a custom
treeview control, but by the sounds of your requirements this could be an
overkill. I think I'd experiment with a different UI - maybe don't show
the root node in the tree, but display that same information in a label
above the treeview.
Ben Albahari
.NET Compact Framework
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: (e-mail address removed) (Chung)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: TreeView CheckBox question
| Date: 8 Oct 2003 12:49:19 -0700
| Organization:
http://groups.google.com
| Lines: 10
| Message-ID: <
[email protected]>
| NNTP-Posting-Host: 207.207.28.210
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1065642559 32254 127.0.0.1 (8 Oct 2003
19:49:19 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Wed, 8 Oct 2003 19:49:19 +0000 (UTC)
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-
xit-09!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:35447
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Can we have a check box to show up on only certain treeNodes? My
| knowledge tells me that this can't be done with what VS provides. What
| can we do to get around this?
|
| What I want to do is provide a check box for all the child tree nodes
| except the root node.
|
| Any suggestions?
|
| Thanks in advance.
|