Authorization.axaml 1.2 KB

1234567891011121314151617181920
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  6. x:Class="AvaloniaApplication1.Authorization"
  7. xmlns:vm="using:AvaloniaApplication1.ViewModels"
  8. x:DataType="vm:MainWindowViewModel">
  9. <StackPanel HorizontalAlignment="Center" >
  10. <TextBlock HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="20" Text="АВТОРИЗАЦИЯ"/>
  11. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="200">
  12. <TextBlock HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="18" Text="Логин"/>
  13. <TextBox Text="{Binding AuthorizationVM.Login}"/>
  14. <TextBlock HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="18" Text="Пароль"/>
  15. <TextBox Text="{Binding AuthorizationVM.Pass}" PasswordChar="♪" Name="Pass"/>
  16. <Button HorizontalAlignment="Center" Command="{Binding GoAuth}" Margin="0,10,0,0" Content="Войти"/>
  17. </StackPanel>
  18. </StackPanel>
  19. </UserControl>