Windows Phone 8 input keyboard

276 Views Asked by At

I have form of adding members in phone application page, in that form, one field is ZIP CODE, so how do I get keyboard of numbers on text changed event? thanks!!

2

There are 2 best solutions below

0
LakshmiNarayanan On BEST ANSWER

Check with this InputScope, Refer this

 <TextBox Name="txtZipCode" >
        <TextBox.InputScope>
            <InputScope>
                <InputScopeName NameValue="Number" />
            </InputScope>
        </TextBox.InputScope>
    </TextBox>
0
A.K. On

The answer given above in a single line could be

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