Frage

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

War es hilfreich?

Lösung

Check with this InputScope, Refer this

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

Andere Tipps

The answer given above in a single line could be

<TextBox Name="txtZipCode" InputScope="Number"/>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top