Key Property
Gets the keyboard key associated with the event.
XAML |
This property cannot be used in XAML.
|
Scripting |
value = eventargs.Key
|
The Key referenced by the event.
This property is read/write, but should be considered read-only because there is no reason to change the reported information. There is no default.
Key codes have possible platform variations. For details see Silverlight Keyboard Support.
Check Ctrl and Shift to determine if the key event is a key combination.