Windows Phone 7 Tip (1) — Input Scopes

转载地址:http://www.gwewe.com/dev/topics/1009251310.html

Input Scopes for the Soft Input Panel

//InputScope 属性主要是用来控制输入框调用的输入键盘的类型,比如:电话号码、数字、文本。邮箱地址
 

   
     
<TextBox Name="EmailAddress" Text="">
<TextBox.InputScope>
<InputScope>
<InputScopeName NameValue="EmailSmtpAddress" />
</InputScope>
</TextBox.InputScope>
</TextBox>

你可能感兴趣的:(windows phone)