InputElement.

KeyDown Event

Summary

Occurs when a key is pressed while the control has focus.
Namespace
Avalonia.Input
Containing Type
InputElement
Event Type
EventHandler<KeyEventArgs>

Syntax

public event EventHandler<KeyEventArgs> KeyDown