<Window x:Class="Rkis29.View.Profile"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        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:local="clr-namespace:Rkis29.View" xmlns:viewmodel="clr-namespace:Rkis29.ViewModel" d:DataContext="{d:DesignInstance Type=viewmodel:VWRegistr}"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="Profile" Name="RegistWND" Height="450" Width="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="92*"/>
            <ColumnDefinition Width="125"/>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="123*"/>
            <ColumnDefinition Width="123*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="45"/>
            <RowDefinition Height="101.012"/>
        </Grid.RowDefinitions>
        <Label Grid.Column="2" Content="Регистрация" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="18" Height="40" Width="142" Margin="137,21,0,0"/>
        <TextBox Grid.Column="2" x:Name="Login" Text="{Binding TbLogin}" FontSize="16" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="1" Margin="0,3,0,0"/>
        <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbName}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="3" Margin="0,3,0,0"/>
        <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbPatronomic}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="5" Margin="0,3,0,0"/>
        <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbPhoneName}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="6" RenderTransformOrigin="-0.126,1.829" Margin="0,3,0,0"/>
        <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbSurname}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="4" RenderTransformOrigin="-0.126,1.829" Margin="0,3,0,0"/>
        <TextBox Grid.Row="1" Grid.Column="2"  Text="{Binding TbPassword}" FontSize="16" HorizontalAlignment="Center" Width="370" Height="42" VerticalAlignment="Top" Cursor="Arrow" Margin="0,45,0,0" Grid.RowSpan="2"/>
        <TextBlock Grid.Row="1" Grid.Column="1" Height="20" Width="60" Text="Логин:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,23,0,0" RenderTransformOrigin="0.444,-1.183"/>
        <TextBlock Grid.Row="2" Grid.Column="1" Height="20" Width="60" Text="Пароль:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,20,0,0" RenderTransformOrigin="0.444,-1.183"/>
        <TextBlock Grid.Row="3" Grid.Column="1" Height="20" Width="60" Text="Имя:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,23,0,0" RenderTransformOrigin="0.444,-1.183"/>
        <TextBlock Grid.Row="4" Grid.Column="1" Height="20" Width="60" Text="Фамилия:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,23,0,0" RenderTransformOrigin="0.444,-1.183"/>
        <TextBlock Grid.Row="5" Grid.Column="1" Height="20" Width="65" Text="Отчество:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" RenderTransformOrigin="0.444,-1.183" Margin="5,23,0,0"/>
        <TextBlock Grid.Row="6" Grid.Column="1" Height="20" Width="115" Text="Номер телефона:" HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="14" RenderTransformOrigin="0.444,-1.183" Margin="0,23,0,0"/>
        <Button  Grid.Row="7" Grid.Column="2" Content="Регистрация" Command="{Binding Go_RegistrBt}" CommandParameter="{Binding ElementName=RegistWND}" VerticalAlignment="Top" FontSize="14" Height="31" Margin="89,31,0,0" Cursor="Hand" RenderTransformOrigin="1.137,0.639" HorizontalAlignment="Left" Width="167"/>
    </Grid>
</Window>
