title: WPF RaisePropertyChanged event on lost focus
body: <p>I have a C# WPF MVVM application that works fine.</p>
  
  <p>The only problem is when I modify a textbox and click on the menu. If I do that without clicking on another control, the view->viewmodel event is never fired because the textbox hasn't lost focus. Correct me if I am wrong, but I think the RaisePropertyChanged is only fired on LostFocus (or OnBlur, or any similar event).</p>
  
  <p>So, clicking on the menu save button right after editing the textbox causes the viewmodel to save the data using old values.</p>
  
  <p>So, resuming:</p>
  
  <p>This sequence works fine:</p>
  
  <ol>
  <li>Edit the text box </li>
  <li>Click on another control</li>
  <li>RaisePropertyChanged is fired, the viewmodel is updated </li>
  <li>Click on save button on the menu </li>
  <li>Data Saved with correct values</li>
  </ol>
  
  <p>This sequence gives me an error:</p>
  
  <ol>
  <li>Edit the text box</li>
  <li>Click on save button on the menu</li>
  <li>Data Saved with correct values</li>
  </ol>
  
  <p>How to solve this?</p>