UserLoginView.xaml 1.3 KB

1234567891011121314151617181920212223242526
  1. <UserControl x:Class="WindowsPhone.Recipes.Push.Client.Views.UserLoginView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
  5. xmlns:my="clr-namespace:WindowsPhone.Recipes.Push.Client.Controls"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. mc:Ignorable="d"
  9. FontFamily="{StaticResource PhoneFontFamilyNormal}"
  10. FontSize="{StaticResource PhoneFontSizeNormal}"
  11. Foreground="{StaticResource PhoneForegroundBrush}"
  12. d:DesignHeight="480" d:DesignWidth="480">
  13. <!--ContentPanel - place additional content here-->
  14. <Grid x:Name="LayoutRoot">
  15. <my:ProgressBarWithText x:Name="progress" Margin="0,-40,0,0" Text="Login..." FontSize="24" ShowProgress="True" Visibility="Collapsed" />
  16. <StackPanel x:Name="login" Visibility="Collapsed">
  17. <StackPanel>
  18. <TextBlock Text="User Name" />
  19. <TextBox x:Name="textBoxUserName" Text="{Binding UserName, Mode=TwoWay}" />
  20. </StackPanel>
  21. <Button x:Name="buttonLogin" Content="Login" Click="ButtonLogin_Click" />
  22. </StackPanel>
  23. </Grid>
  24. </UserControl>