How to make the binding happen from the ViewModel
问题 I'm trying to capture the Enter key being pressed on a text box, so that I can kick off an update to the server. It's not working, and so I've reduced the problem to it's simplist elemetns. In this example, it seems that the binding is not happening per keystroke, but at sometime later. I need to the binding to be completed by the time the enter key is pressed. Consider the following XAML and function from the VM. Here's the XAML of the textbox <TextBox Text="{Binding TextValue, Mode=TwoWay}"