开发者

Checkbox DataBindings - Checked vs CheckState

开发者 https://www.devze.com 2022-12-16 14:41 出处:网络
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), whi

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消