123456789101112131415161718192021222324252627282930313233343536373839 |
- <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="1440" d:DesignHeight="990"
- xmlns:vm="using:AvaloniaApplication3.ViewModels"
- x:DataType="vm:PersonalAccountViewModel"
- x:Class="AvaloniaApplication3.ViewModels.PersonalAccountPage">
- <StackPanel Margin="50" Orientation="Vertical">
- <TextBlock Classes="title" Text="Личный кабинет"/>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="1*"/>
- </Grid.ColumnDefinitions>
- <StackPanel Orientation="Vertical" Grid.Column="0">
- <TextBlock Text="Имя"/>
- <TextBox Text="{Binding Name}" Watermark="Введите имя"/>
- <TextBlock Text="Фамилия"/>
- <TextBox Text="{Binding Surname}" Watermark="Введите фамилию"/>
- <TextBlock Text="Отчество"/>
- <TextBox Text="{Binding Patronumic}" Watermark="Введите отчество"/>
- </StackPanel>
- <StackPanel Orientation="Vertical" Grid.Column="1">
- <TextBlock Text="Логин"/>
- <TextBox Text="{Binding Login}" Watermark="Введите логин"/>
- <CheckBox Content="Изменить пароль?" IsChecked="{Binding IsChangedPass}"/>
- <StackPanel Orientation="Vertical" IsVisible="{Binding IsChangedPass}">
- <TextBlock Text="Введите новый пароль"/>
- <TextBox Text="{Binding NewPassword}" Watermark="Новый пароль" PasswordChar="•" Classes="revealPasswordButton"/>
- <TextBlock Text="Повторите новый пароль"/>
- <TextBox Text="{Binding NewPasswordAgain}" Watermark="Повторите пароль" PasswordChar="•" Classes="revealPasswordButton"/>
- </StackPanel>
- </StackPanel>
- </Grid>
- <TextBlock Text="{Binding Message}" Classes="error"/>
- <Button Classes="blueBtn" Content="Сохранить изменения" Command="{Binding SaveChanges}"/>
- </StackPanel>
- </UserControl>
|