How to determine the value of a key pressed in Windows Phone 7 Numeric Keyboard?

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?

+5
source share
2 answers
+2

.

, .

- - , .

, , / , . -, Keboard.Modifier "None".

, TextChanged.

+1

All Articles