I hooked an event handler to an event KeyDownfor a TextBox. An event handler has a type argument KeyEventArgswith Keyand properties PlatformKeyCode. The problem is that the keys 1and are !pressed on the soft keyboard of Windows Phone, the values ββfor the keys and PlatformKeyCodeare equal D1and, 49respectively. I canβt say which key was pressed. Also the static property Keyboard.Modifiersreturns "None"
So how do I determine the key pressed?
source
share