Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
Hello!

I tried to use the InputScope and set it to Numbers, but the keyboard still looks the same. I would like to switch to a simple numPad-styled Keyboard, when entering a TextBox?

Any ideas?

Thanks in advance
Thomas
Posted

1 solution

You need to use SurfaceKeyboard.Layout Property[^] by setting public enum KeyboardLayout to "Numeric":

Quote:
Gets or sets the layout of the Surface on-screen keyboard: alphanumeric or numeric.
 
Share this answer
 
v2
Comments
twehlan 22-Sep-15 5:02am    
I cannot get this to work with the standard Win7 onscreen keyboard.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900