Skip to main content

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.Primitives
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)

protected override void OnKeyDown(
KeyEventArgs e
)

Parameters​

  KeyEventArgs
Data about the event.

See Also​

Reference​

ColorSpectrum Class
Avalonia.Controls.Primitives Namespace