OnKeyDown Method
Invoked when an unhandled KeyDownEvent reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
protected override void OnKeyDown(
KeyEventArgs e
)
Protected Overrides Sub OnKeyDown (
e As KeyEventArgs
)
abstract OnKeyDown :
e : KeyEventArgs -> unit
override OnKeyDown :
e : KeyEventArgs -> unit
Parameters
- KeyEventArgs
- Data about the event.