I have a TextBox
in my app, and an ApplicationBarIconButton
in the ApplicationBar
which acts as a "submit" for the contents of the TextBox
.
When editing the TextBox
using the virtual keyboard, the ApplicationBarIconButton
is still visible below the SIP, so you can submit straight away without dismissing the keyboard: nice!
However, when clicking the button, the viewmodel to which the TextBox
is bound does not update.
I found someone else with the same problem here, and they have used the pretty nasty workaround of manually updating the viewmodel on the TextBox
's TextChanged
event.
Removes all the elegance of using databound view models!
Is this a bug in WP7?
Or is there a nicer way around this that I haven't found yet?