/// <summary> /// Perform key down handling. /// </summary> /// <param name="e">A KeyEventArgs that contains the event data.</param> public override void KeyDown(KeyEventArgs e) { // Tell current view of key event if (FocusView != null) { FocusView.KeyDown(e); } }
/// <summary> /// Perform key down handling. /// </summary> /// <param name="e">A KeyEventArgs that contains the event data.</param> public override void KeyDown(KeyEventArgs e) { // Tell current view of key event if (FocusView != null) { FocusView.KeyDown(e); } else { // Pass onto the ribbon so it can transfer focus to next _ribbon.MinimizedKeyDown(e.KeyData); } }
/// <summary> /// Perform key down handling. /// </summary> /// <param name="e">A KeyEventArgs that contains the event data.</param> public override void KeyDown(KeyEventArgs e) { // Tell current view of key event FocusView?.KeyDown(e); }