<Window x:Class="WpfApp4.Profil"
        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:WpfApp4"
        mc:Ignorable="d"
        Title="Window1" Height="450" Width="800">
    <Grid Background="Black">
        <TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8"><Run Language="ru-ru" Text="Профиль"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="10,39,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8"><Run Language="ru-ru" Text="ФИО:"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="52,39,0,0" Text="{Binding UserFIO}" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8" Width="167"><Run Language="ru-ru" Text="                       "/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="10,67,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8"><Run Language="ru-ru" Text="Логин:"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="10,93,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8"><Run Language="ru-ru" Text="Номер телефона:"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="52,67,0,0" Text="{Binding UserLogin}" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8" Width="106"><Run Language="ru-ru" Text="                       "/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="120,93,0,0" Text="{Binding UserPhone}" TextWrapping="Wrap" VerticalAlignment="Top" Background="#FFFFF8F8" Width="149"><Run Language="ru-ru" Text="                       "/></TextBlock>
        <Button Content="Список задач" HorizontalAlignment="Left" Command="{Binding ListTask}" Margin="25,0,0,0" VerticalAlignment="Center" Width="133" Height="29"/>
        <DataGrid ColumnWidth="*" ScrollViewer.CanContentScroll="True" IsReadOnly="True" Grid.Column="1" ItemsSource="{Binding Users}" SelectedItem="{Binding User}" AutoGenerateColumns="False"  Foreground="Black" BorderBrush="Black" Background="Black" Height="434" VerticalAlignment="Top">
            <DataGrid.Columns>
                <DataGridTextColumn Header="ID" Binding="{Binding Iduser}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Логин" Binding="{Binding Login}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Имя" Binding="{Binding Name}" ></DataGridTextColumn>
            </DataGrid.Columns>

        </DataGrid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
    </Grid>
</Window>
