Solved

Indeterminate CheckState for a TreeView node

Posted on 2004-10-07
3
691 Views
Last Modified: 2012-08-13
Hi Experts,

I have a TreeView with check boxes enabled. I am showing in it a hierarchy of objects, so I have objects and then subobjects for them (shown as child nodes in the TreeView). I would like to make it so, that when I select some of the children (but not all), the check box for the parent node is in the Indeterminate state (as known from the CheckBox control). Is this possible?

An alternative/customized TreeView control would also work if it is easy to handle.

Thanks
TheAvenger
0
Comment
Question by:TheAvenger
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 250 total points
ID: 12256347
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12256498
It would be even better if it could handle both images and tri state, but still this is a step forward
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12256590
Glad to help :)
You may need to see the codes of both of them a little bit and make your own powerful :) custom component
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# Desktop Application 3 65
Calculate number of nights between two dates 5 86
Input parameteres to DragOver 2 34
Set custom font WPF 2 21
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question