private void NewHotkey() { HotkeyEditorModel hotkeyEditor = new HotkeyEditorModel(); Hotkey newHotkey = hotkeyEditor.EditValue(context: null, provider: null, value: null) as Hotkey; if (newHotkey != null) { this.InputCorrelator.HotKeys.Add(newHotkey); this.RaisePropertyChanged(nameof(this.Hotkeys)); } }
private void NewHotkey() { HotkeyEditorModel hotkeyEditor = new HotkeyEditorModel(); /*Hotkey newHotkey = hotkeyEditor.EditValue(context: null, provider: null, value: null) as Hotkey; * * if (newHotkey != null) * { * throw new NotImplementedException(); * ////this.InputCorrelator.HotKeys.Add(newHotkey); * this.RaisePropertyChanged(nameof(this.Hotkeys)); * }*/ }