title: TextBox and default Button binding does update too late
body: <p>I've got a simple WPF dialog with these two controls:</p>
  
  <pre><code>&lt;TextBox Text="{Binding MyText}"/&gt;
  &lt;Button Command="{Binding MyCommand}" IsDefault="True"/&gt;
  </code></pre>
  
  <p>Now, when I enter some text in the TextBox and click the button using the mouse, everything works like expected: the TextBox will set MyText and MyCommand is called.</p>
  
  <p>But when I enter some text and hit enter to "click" the default button, it does not work. Since on hitting enter the focus does not leave the TextBox, the binding will not be refresh MyText. So when MyCommand is called (which works), MyText will contain old data.</p>
  
  <p>How do I fix this in MVVM? In classic code-behind I probably just would call "MyButton.Focus()" in the MyCommand handler, but in MVVM the MyCommand handler does know nothing about the button.</p>
  
  <p>So what now`?</p>