[CheckBox] Setting Checked = true doesn't work for Indeteminate state #14027
Unanswered
jmairboeck
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this is a bug or not.
If a CheckBox's CheckState is Indeterminate, setting
Checked = true(programmatically) doesn't work because the setter checks whether the new value differs from what the Checked getter returns (which is true for Indeterminate).I expected that setting
Checked = truewould always be equivalent to settingCheckState = CheckState.Checked, so to actually change the state if it was Indeterminate before, even if the Checked getter already returns true before.Beta Was this translation helpful? Give feedback.
All reactions