Gets the keyboard key associated with the event.
Assembly: System.Windows (in System.Windows.dll)
Key codes have possible platform variations. Keys that are portable will return a discrete key for and also a PlatformKeyCode. Keys that are not portable will return Unknown for , and also a PlatformKeyCode.
Inwphone, you could check for modifier keys by checking the values of the Ctrl and Shift properties of the KeyEventArgs. In Windows Phone, you check for modifier keys by calling the static Keyboard.Modifiers property from within your key event handler. The Keyboard.Modifiers property returns a combined enumeration value that reports all possible modifier keys (including the ALT key and platform-specific modifier keys) that are pressed at that time.