private void OnTodoContentTextBoxKeyDown(KeyRoutedEventArgs e) { if (e.Key() != VirtualKey.Enter) { return; } Content.AddCurrentTodoContent(); }