Checkbox
Brought to you by:
agaman
In version 1.7.0.0, if a NodeCheckBox.ThreeState property is set to true, but the bound data member is only bool, the checkbox can be checked, but never unchecked. Although an apparent conflict exists with the ThreeState and bool values, I expect that the checkbox should at least toggle between True and False, even if Indeterminate is not a valid value.
This can be fixed in NodeCheckBox.cs in the SetCheckState method:
- SetValue(node, value != CheckState.Unchecked);
+ SetValue(node, value == CheckState.Checked);