mardi 29 novembre 2016

Binding issues with checkbox. CheckedValue property is different from Checked property. (WinForms)

Working on an apparently old bug in the company's flagship software. Looks like the issue (not prompting for save appropriately) is boiling down to the fact that a checkbox is checked on the UI (and the checkbox.Checked property is True), but the checkbox.CheckedValue property is false. The data binding is done to CheckedValue (just like other checkboxes in the system).

What gives? I searched, but I can't find any reason why the checkbox.Checked property should have a different value from the checkbox.CheckedValue property. How could they??

Can anyone help elucidate the difference here?




Aucun commentaire:

Enregistrer un commentaire