public override void KeyDown(KeyEventArgs e) { if (e.Key == Key.F5) { if (e.KeyboardDevice.Modifiers == ModifierKeys.Control || e.KeyboardDevice.Modifiers == ModifierKeys.Shift) { Reflesh(); } else if (SelectedList != null) { SelectedList.Reflesh(); } else { Reflesh(); } } }