PropertyChanged events in WPF (Beginner)

PropertyChanged events in WPF (Beginner)

Old forum URL: forums.lhotka.net/forums/t/9242.aspx


nhwilly posted on Wednesday, July 21, 2010

I noticed in the 3.8 SimplApp sample, that the field has to lose focus for the buttons to update their status from disabled to enabled.

That creates a problem in that you can't select the "Save" button until you have exited the field.

Which means the user can enter some data to change a field, but can't select save unless they artificially click on (or tab to) another field.

Is this a limitation of WPF, or is there another event that will trigger the correct behavior?

I've tried the basic TextChanged event, but haven't figured out how to implement it and certainly don't want to duplicate something that's already done somewhere else.

 

Copyright (c) Marimer LLC