It's 0,1 but there is 3rd for say nulls or to represent some children are checked but not all. It's really strange CheckBox has ThreeState property since 1.0 that verifies at least someone at MS was aware of the necessity, but Treeview checkbox doesn't have it.
Cetin
>What 3 states do you mean? I have seen a grayed out state which indicates some of the group represented by the check box are checked in a sub-dialog. But isn't a check box by its nature binary?
>
>
>>What the heck was M$ thinking when they created the treeview control?!!?
>>I am very upset because it appears that the treeview control's checkboxes does not support 3 states.
>>Has anyone else noticed this? What did you do instead?
>>