<Page x:Class="MyMoviesWPF.MVVM.View.Pages.CatalogPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:MyMoviesWPF.MVVM.View.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="900" d:DesignWidth="1600"
      Title="CatalogPage">

    <Grid>

        <StackPanel Orientation="Horizontal"  HorizontalAlignment="Center">
            <DataGrid IsReadOnly="True"
                      ItemsSource="{Binding MoviesCollection}" SelectedItem="{Binding OpenMovieWindow}">
                <DataGrid.Columns>
                    <DataGridTextColumn Header="Название" Binding="{Binding Name}" IsReadOnly="True"></DataGridTextColumn>
                </DataGrid.Columns>

            </DataGrid>
        </StackPanel>

        <!--<ContentControl 
                HorizontalAlignment="Center" VerticalAlignment="Top"
                Content="{Binding CurrentControlView}" />-->

    </Grid>
</Page>
