123456789101112131415161718192021222324252627282930 |
- <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"
- xmlns:vm="using:Users_Roles.ViewModels"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:DataType="vm:AddUserVM"
- xmlns:conv="using:Users_Roles.Converters"
- x:Class="Users_Roles.AddUserV">
- <UserControl.Resources>
- <conv:ImageConverter x:Key="myImageConverter"/>
- </UserControl.Resources>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" >
- <StackPanel>
- <Border Classes ="trash">
- <StackPanel>
- <TextBlock>ФИО</TextBlock>
- <TextBox Text="{Binding NewUser.Fio}"></TextBox>
- <TextBlock>Логин</TextBlock>
- <TextBox Text="{Binding NewUser.Login}"></TextBox>
- <TextBlock>Пароль</TextBlock>
- <TextBox PasswordChar="*" Text="{Binding NewPassword}"></TextBox>
- <Button Command="{Binding AddOnePhoto}">Выбрать фото</Button>
- <Button Command="{Binding AddUser}" Content="{Binding MessageButton}"/>
- <TextBlock Foreground="Red" Text="{Binding Massege}"></TextBlock>
- </StackPanel>
- </Border>
- </StackPanel>
- </StackPanel>
- </UserControl>
|