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!!

有帮助吗?

解决方案

Check with this InputScope, Refer this

 <TextBox Name="txtZipCode" >
        <TextBox.InputScope>
            <InputScope>
                <InputScopeName NameValue="Number" />
            </InputScope>
        </TextBox.InputScope>
    </TextBox>

其他提示

The answer given above in a single line could be

<TextBox Name="txtZipCode" InputScope="Number"/>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top