You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
Is there a way to reproduce the actual (maybe dependent on the system's keyboard layout settings) key code (and the char instance) only from KeyEventArgs?
Imho, it's not possible directly - so KeyEventArgs should feature at least a unicode number to have the actual char representation directly available without further circumstances.
The text was updated successfully, but these errors were encountered:
I guess extending the KeyEventArgs by a simple utf16 c# char value should do it, right?
Of course, e.g. on sys key events, this value should be '\0' then or similarly invalid.
A new KeyEventArgs.Text property would be nice. I think all backends have function to get the Unicode for the key. But localization must be kept in mind, I think Mac uses the en-us layout for key events by default.
Is there a way to reproduce the actual (maybe dependent on the system's keyboard layout settings) key code (and the char instance) only from KeyEventArgs?
Imho, it's not possible directly - so KeyEventArgs should feature at least a unicode number to have the actual char representation directly available without further circumstances.
The text was updated successfully, but these errors were encountered: