title: WPF how to make textbox lose focus after hitting enter
body: <p>I created some textboxes and I want user to enter decimal values into them. In every application I have ever used, when I type something into the textbox and hit enter, the value is accepted and textbox lose focus. How can I do it in my app? 
  I know it should be relatively easy to do it with a key event, but maybe there is a command or something. 
  I searched the stackoverflow but I only found questions about how to keep focus after hitting enter...</p>