1234567891011121314151617181920212223242526272829303132333435363738 |
- <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"
- xmlns:vm="clr-namespace:ApplicationAvalonia.ViewModels;assembly=ApplicationAvalonia"
- x:DataType="vm:PersonalCabinetViewModel"
- x:Class="ApplicationAvalonia.Views.PersonalCabinetView"
- >
- <StackPanel Spacing="20" VerticalAlignment="Center" HorizontalAlignment="Center">
-
- <TextBlock Text="Добро пожаловать в личный кабинет" FontSize="20"/>
-
- <TextBox Text="{Binding User.UserTable.UserName}" Watermark="Имя"/> <!--Имя-->
-
- <TextBox Text="{Binding User.UserTable.UserSurname}" Watermark="Фамилия"/> <!--Фамилия-->
-
- <TextBox Text="{Binding User.Login}" Watermark="Ваш новый логин"/> <!--Логин-->
-
- <TextBox Text="{Binding NewPaswword}" Watermark="Ваш новый пароль"/> <!--Пароль-->
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal"
- Spacing="20">
- <Button Content="Редактировать" Command="{Binding EditProfileCommand}"/>
- <Button Content="Назад" Command="{Binding GoBackCommand}"/>
-
- <Button Content="Выйти из профиля" Command="{Binding ExitCommand}"/>
- </StackPanel>
-
-
- </StackPanel>
-
- </UserControl>
|