I have an object that implements INotifyPropertyChanged, and a checkbox that is bound to a boolean property of that object. This works, but I've found that when I check or uncheck the checkbox, the bound property of the object is not updated until I click another control, close the form, or otherwise make the checkbox lose focus.
I would like the checkbox to take effect immediately. That is, when I check the box, the property should be immediately set true, and when I uncheck the box, it should be immediately set false.
I have worked around this by adding a handler for the checkbox's CheckedChanged event, but is there a "right way" to do this that I've overlooked?
A similar Stack Overflow question is Databound value of textbox/checkbox is incorrect until textbox/checkbox is validated.