首页 > 代码库 > wp8 入门到精通 输入框
wp8 入门到精通 输入框
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<TextBlock Text="Default" Height="30" HorizontalAlignment="Left" Margin="10,15,0,0" Name="textDefault" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="Default" Height="60" HorizontalAlignment="Left" Margin="100,0,0,0" Name="txtDefault" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Chat" Height="30" HorizontalAlignment="Left" Margin="10,70,0,0" Name="textChat" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="Chat" Height="60" HorizontalAlignment="Left" Margin="100,55,0,0" Name="txtChat" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Email" Height="30" HorizontalAlignment="Left" Margin="10,125,0,0" Name="textEmail" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="EmailNameOrAddress" Height="60" HorizontalAlignment="Left" Margin="100,110,0,0" Name="txtEmail" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Url" Height="30" HorizontalAlignment="Left" Margin="10,180,0,0" Name="textUrl" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="Url" Height="60" HorizontalAlignment="Left" Margin="100,165,0,0" Name="txtUrl" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="NameOr" Height="30" HorizontalAlignment="Left" Margin="10,235,0,0" Name="textName" VerticalAlignment="Top" FontSize="18" />
<TextBlock Text="Phone" Height="30" HorizontalAlignment="Left" Margin="10,255,0,0" Name="textPhoneNumber" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="NameOrPhoneNumber" Height="60" HorizontalAlignment="Left" Margin="100,220,0,0" Name="txtNameOrPhoneNumber" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Address" Height="30" HorizontalAlignment="Left" Margin="10,290,0,0" Name="textAddressStreet" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="AddressStreet" Height="60" HorizontalAlignment="Left" Margin="100,275,0,0" Name="txtAddressStreet" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Telephone" Height="30" HorizontalAlignment="Left" Margin="10,345,0,0" Name="textTelephone" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="TelephoneNumber" Height="60" HorizontalAlignment="Left" Margin="100,330,0,0" Name="txtTelephone" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Currency" Height="30" HorizontalAlignment="Left" Margin="10,400,0,0" Name="textCurrency" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="CurrencyAmount" Height="60" HorizontalAlignment="Left" Margin="100,385,0,0" Name="txtCurrency" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Maps" Height="30" HorizontalAlignment="Left" Margin="10,455,0,0" Name="textMaps" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="Maps" Height="60" HorizontalAlignment="Left" Margin="100,440,0,0" Name="txtMaps" Text="" VerticalAlignment="Top" Width="350" />
<TextBlock Text="Formula" Height="30" HorizontalAlignment="Left" Margin="10,510,0,0" Name="textFormula" VerticalAlignment="Top" FontSize="18" />
<TextBox InputScope="Formula" Height="60" HorizontalAlignment="Left" Margin="100,495,0,0" Name="txtFormula" Text="" VerticalAlignment="Top" Width="350" />
</Grid>
http://dotnetspeaks.com/DisplayArticle.aspx?ID=155