private void OnChecklistItemKeyDown(object sender, KeyRoutedEventArgs e) { if (e.Key != VirtualKey.Enter) { return; } try { var checkVm = ViewModel.ChecklistViewModel; if (!checkVm.CanAddChecklistItem()) { return; } checkVm.AddChecklistItem(); Checklist?.ScrollToBottom(); } catch (RuntimeBinderException ex) { Debug.WriteLine($"checklist enter key ex: {ex}"); } }