<Window x:Class="Work29.ViewUsersWindow"
        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:Work29"
        mc:Ignorable="d"
        Title="ViewUsersWindow" Height="500" Width="450" MinHeight="350" MinWidth="350" MaxHeight="600" MaxWidth="600">
        
    <Grid Background="Black">
        <DataGrid Name="Users_table" ItemsSource="{Binding Users}" AutoGenerateColumns="False" IsReadOnly="True" ScrollViewer.CanContentScroll="True" ColumnWidth="*">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Id" Binding="{Binding Id}"/>
                <DataGridTextColumn Header="Login" Binding="{Binding Login}"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>
