Three State Treeview Windows Forms

Posted by alhambraeidos on Stack Overflow See other posts from Stack Overflow or by alhambraeidos
Published on 2010-06-16T07:20:35Z Indexed on 2010/06/16 7:22 UTC
Read the original article Hit count: 285

Filed under:
|
|
|
|

Hello everybody people,

One of the frustrations with the standard TreeView is that you can't show a partial selection to indicate that some of the children are selected. A partial selection in a complex tree allows the user to easily determine where the selections are, even if the tree is not completely expanded. A similar idea is used in manu backup programs to allow the user to select the files to be backed up.

Does anyone know of a way to make the checks in a treeview checkbox gray? I want to gray the check of a parent node when some (but not all) of its child nodes are checked. Kinda like what you see when you are selecting options to install during a software installation.

I have seen several post, but is older (2000, 2007 year).

I now, in 2010, the better answer possible is required. I use VS 2008 . Net 3.5 , Windows Forms

Thanks in advanced, greetings

© Stack Overflow or respective owner

Related posts about winforms

Related posts about treeview