Checkbox DataBindings - Checked vs CheckState
What are the pros and cons of using a Checkbox's Ch开发者_如何学Pythonecked
property vs the CheckState
property for databinding?
Checked can only be true or false (presenting a checkmark or none), while CheckState can also be undetermined, meaning a partially greyed checkmark representing neither true nor false.
Nb. When CheckState is indeterminate, Checked is true. Maybe irrelevant for your situation, but it might still be important.
精彩评论