Search code examples
xamlwindows-phone-8windows-phone-8.1windows-phone

Thousand Separator in the numeric keyboard


I want to create a TextBox for entering an ip adress. My first attempt was to use the InputScope parameter like this:

<TextBox Name="txtIpAdress" InputScope="Number"/>

The problem with that is that here in Denmark we use , (comma) Decimal Seperator and . (dot) as Thousand Separator, so when I show the numeric keyboard I got the numbers [0..9] + comma.

Can I some how force the numeric keyboard to show a . (dot) or can I show the regulare keybord and switch it over to the numeric mode ?


Solution

  • If you long press the dot key you will get the option which will have comma,dot and hyphen in the numeric keyboard. See the image below.enter image description here