[CheckBox] Setting Checked = true doesn't work for Indeteminate state #14027
-
|
I'm not sure if this is a bug or not. If a CheckBox's CheckState is Indeterminate, setting I expected that setting |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
This is expected behavior of the WinForms CheckBox control. |
Beta Was this translation helpful? Give feedback.
-
|
This change effectively prevents invalid operations when the control is in the Indeterminate state, aligning with developers' expectations (Checked = true will display a clear checked mark), improving the consistency of data binding/events, and reducing visual inconsistencies. However, this may lead to behavioral changes for applications that rely on Checked = true being an invalid operation in the three-state mode. If this is blocking your scenario, please let us know your constraints so we can assess a safe path (e.g., an opt‑in change or guidance). |
Beta Was this translation helpful? Give feedback.
This change effectively prevents invalid operations when the control is in the Indeterminate state, aligning with developers' expectations (Checked = true will display a clear checked mark), improving the consistency of data binding/events, and reducing visual inconsistencies.
However, this may lead to behavioral changes for applications that rely on Checked = true being an invalid operation in the three-state mode.
If this is blocking your scenario, please let us know your constraints so we can assess a safe path (e.g., an opt‑in change or guidance).