AuthPas.axaml 1.2 KB

123456789101112131415161718192021
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:vm="using:Practikaoy.ViewModels"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. x:DataType="vm:MainWindowViewModel"
  7. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  8. x:Class="Practikaoy.Views.AuthPas">
  9. <Grid>
  10. <Border BorderBrush="#ff686b" CornerRadius="40" Width="300" Height="230" BorderThickness="6" Background="#ffa69e">
  11. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Background="#ffa69e" Width="280" Height="150" >
  12. <TextBlock />
  13. <TextBlock Text="Логин" Foreground="#864639" HorizontalAlignment="Center"/>
  14. <TextBox Text="{Binding AuthPage.Loginn}" Background="#fae1dd" Width="100" />
  15. <TextBlock Text="Пароль" Foreground="#864639" HorizontalAlignment="Center"/>
  16. <TextBox Text="{Binding AuthPage.Pass}" Background="#fae1dd" Width="130"/>
  17. <Button Content="Вход" Command="{Binding PsssNext}" Padding="5" Margin="6" HorizontalAlignment="Center" Background="#ff6368"/>
  18. </StackPanel>
  19. </Border>
  20. </Grid>
  21. </UserControl>