private void IntegerUpDown_PreviewKeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Left || e.Key == Key.Right || e.Key == Key.Up || e.Key == Key.Down || e.Key == Key.Space)
     {
         ((LiveBuildHelperVM)DataContext).PressedKey(e.Key);
         CC.Focus();
         Keyboard.Focus(CC);
         e.Handled = true;
     }
 }
 private void ContentControl_MouseDown(object sender, MouseButtonEventArgs e)
 {
     CC.Focus();
     Keyboard.Focus(CC);
 }