Dživo Jelić
Dživo Jelić

Reputation: 2152

Is it possible to disable swipe keyboard in windows phone 8.1 RT TextBox

Is it possible to disable swipe keyboard in TextBox just like PasswordBox does.

Upvotes: 1

Views: 216

Answers (3)

Peter Torr
Peter Torr

Reputation: 12019

Not necessarily the best solution, but playing with the InputScope might get you what you want. For example, this won't allow the shape-writing keyboard:

<TextBox InputScope="NameOrPhoneNumber"/>

The list of possible InputScope values can be found here. [Edit: Updated for XAML]

Upvotes: 1

ave
ave

Reputation: 284

Found a workaround.

Add a textbox (and delete the text in it) Add a textbox (and delete the text in it) Add a passwordbox on The textbox Add a passwordbox on the textbox Set the passwordboxes opacity to 0% Set the passwordboxes opacity to 0% Make a passwordchanged trigger on The passwordbox (double click on passwordbox does the same) and write a code on that sets the text of The textbox to The passwordboxes password (add names to The passwordbox and textbox before this) Make a passwordchanged trigger on The passwordbox (double click on passwordbox does the same) and write a code that sets the text of The textbox to The passwordboxes password (add names to passwordbox and textbox before this) You must be done! I hope I helped you.

Upvotes: 1

MrEko
MrEko

Reputation: 89

I Think it's impossible to disable swipe keyboard in textBox but you can disable it from phone settings (Settings -> Keyboard -> tap your keyboard language -> uncheck "Type as I swipe through letters").

Upvotes: 0

Related Questions