public override void KeyDown(KeyEventArgs e) { if (e.KeyboardDevice.Modifiers == ModifierKeys.Control) { if (e.Key == Key.W) { Close(); return; } if (e.Key == Key.F5) { Refresh(); return; } } SelectedList?.KeyDown(e); }