Skip to main content

KeySymbol Property

Gets the unicode symbol of the key, or null if none is applicable.

For example, when pressing the key located at the Z position on standard US English QWERTY keyboard, this property returns:

  • z for an English (QWERTY) layout
  • w for a French (AZERTY) layout
  • y for a German (QWERTZ) layout
  • я for a Russian (JCUKEN) layout

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public string? KeySymbol { get; init; }

Property Value

String

See Also

Reference

KeyEventArgs Class
Avalonia.Input Namespace