문제

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