Auth.axaml 1011 B

12345678910111213141516171819
  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="pr13.Auth"
  7. xmlns:vm="using:pr13.ViewModels"
  8. x:DataType="vm:MainWindowViewModel">
  9. <StackPanel>
  10. <TextBlock Margin="10 5 10 0" HorizontalAlignment="Center" FontSize="24">ВХОД</TextBlock>
  11. <TextBox Margin="10 5 10 0" Watermark="Введите логин" Text="{Binding AuthorizationVM.Login}" Name="Login"/>
  12. <TextBox Margin="10 5 10 0" Text="{Binding AuthorizationVM.Pass}" PasswordChar="*" Name="Pass" Watermark="Введите пароль"/>
  13. <Button Margin="10 5 10 0" HorizontalAlignment="Center" Command="{Binding GoAuth}" >Войти</Button>
  14. </StackPanel>
  15. </UserControl>