LogInView.xaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <Window x:Class="MyMoviesWPF.MVVM.View.LogInView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:MyMoviesWPF.MVVM.View"
  7. mc:Ignorable="d" ResizeMode="NoResize"
  8. Title="LogInView" Height="600" Width="450">
  9. <Grid>
  10. <StackPanel HorizontalAlignment="Center" Margin="0,0,0,0" Orientation="Vertical" VerticalAlignment="Center">
  11. <TextBox Width="300" Height="52" Margin="0, 10, 0, 10"
  12. Text="{Binding EnteredLogin}" FontFamily="Segoe UI"
  13. />
  14. <PasswordBox
  15. x:Name="Password"
  16. Width="300" Height="52" Margin="0, 50, 0, 0"
  17. />
  18. <Button
  19. Content="Sign In"
  20. FontFamily="Segoe UI" FontSize="20" FontStyle="Normal" FontWeight="Normal" Foreground="White"
  21. Command="{Binding SignIn}" CommandParameter="{Binding ElementName=Password}"
  22. Width="200" Height="32" Margin="0, 50, 0, 00"
  23. />
  24. </StackPanel>
  25. </Grid>
  26. </Window>