Windows Phone - 输入控件实现

wp开发中主要的输入控件其实就有两个,一个是textbox,另一个就是password控件。这两个控件中尤其是TextBox控件有了很多新特性。一.PasswordBox:   密码框控件,用于输入自定义的遮罩字符的输入控件。

<PasswordBox Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="12,284,0,0" Name="passwordBox1" VerticalAlignment="Top" Width="460" PasswordChar="$" />

<PasswordBox Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="12,119,0,0"    Name="passwordBox2" VerticalAlignment="Top" Width="460" />

<PasswordBox Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="12,454,0,0" Name="passwordBox3" VerticalAlignment="Top" Width="460"  PasswordChar="@"/>

  PasswordChar:设置密码显示字符。
<ignore_js_op>21172034_RcwX.jpg 
二.TextBox:  输入框控件。

详细说明:http://wp.662p.com/thread-7937-1-1.html

posted on 2014-11-05 10:21  chenniuzen  阅读(233)  评论(0编辑  收藏  举报

导航