1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="AvaloniaApplication1.RedistrationPage"
- xmlns:vm="using:AvaloniaApplication1.ViewModels"
- x:DataType="vm:RegistrationPageViewModel">
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock Text="Фамилия:" Margin="0 5"/>
- <TextBox Text="{Binding Surname}" Watermark=" Введите фамилию"/>
- <TextBlock Text="Имя:" Margin="0 5"/>
- <TextBox Text="{Binding Name}" Watermark="Введите имя"/>
- <TextBlock Text="Отчеcтво:" Margin="0 5"/>
- <TextBox Text="{Binding Patronymic}" Watermark="Введите отчество"/>
- <TextBlock Text="Выберете пол: " Margin="0 5"/>
- <ComboBox ItemsSource="{Binding GenderList}" SelectedItem="{Binding SelectedGender}">
- <ComboBox.ItemTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Title}"/>
- </DataTemplate>
- </ComboBox.ItemTemplate>
- </ComboBox>
- <TextBlock Text="Введите дату рождения: " Margin="0 5"/>
- <DatePicker SelectedDate="{Binding DateTimeOffset}"/>
- <TextBlock Text="Логин" Margin="0 5"/>
- <TextBox Text="{Binding Login}" Watermark="Введите логин" Margin="0 5"/>
-
-
- <TextBlock Text="Пароль" Margin="0 5"/>
- <TextBox Text="{Binding Password}" Watermark="Введите пароль" PasswordChar="*" Margin="0 5"/>
- <TextBlock Text="Повторный пароль" Margin="0 5"/>
- <TextBox Text="{Binding RepeatedPassword}" Watermark="Введите пароль повторно" PasswordChar="*" Margin="0 5"/>
- <Button Content="Зарегестрироваться" Command="{Binding Registration}"/>
- <TextBlock Text="{Binding Info}"></TextBlock>
-
-
- </StackPanel>
- </UserControl>
|