Source/OxyPlot.Avalonia/PlotBase.Events.cs
/// <summary>
/// Called before the <see cref="E:System.Windows.UIElement.KeyDown" /> event occurs.
/// </summary>
/// <param name="e">The data for the event.</param>
Called before the  event occurs.
Called before the event occurs .
protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
            if (e.Handled)
            {
                return;
            }
            var args = new OxyKeyEventArgs { ModifierKeys = e.KeyModifiers.ToModifierKeys(), Key = e.Key.Convert() };
            e.Handled = ActualController.HandleKeyDown(this, args);
        }
protected override void OnKeyDown ( KeyEventArgs e ) { base . OnKeyDown ( e ) ; if ( e . Handled ) { return ; } var args = new OxyKeyEventArgs { ModifierKeys = e . KeyModifiers . ToModifierKeys ( ) , Key = e . Key . Convert ( ) } ; e . Handled = ActualController . HandleKeyDown ( this , args ) ; }
Called before the  event occurs.
Called before the event occurs .
e
KeyEventArgs
The data for the event.
The data for the event .