Catalog.xaml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <Window x:Class="MyMoviesWPF.MVVM.View.Catalog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:MyMoviesWPF.MVVM.View"
  7. mc:Ignorable="d"
  8. Title="Каталог" Height="900" Width="1600"
  9. WindowStartupLocation="CenterScreen">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="45*"/>
  13. <RowDefinition Height="397*"/>
  14. </Grid.RowDefinitions>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="139*"/>
  17. <ColumnDefinition Width="485*"/>
  18. <ColumnDefinition Width="176*"/>
  19. </Grid.ColumnDefinitions>
  20. <StackPanel Grid.Column="1" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  21. <Button Height="150" Width="100" VerticalAlignment="Center" Cursor="Hand"/>
  22. <DataGrid HorizontalAlignment="Center"/>
  23. <Button Height="150" Width="100"/>
  24. </StackPanel>
  25. <ContentControl
  26. HorizontalAlignment="Center" VerticalAlignment="Top" Grid.Row="0" Grid.Column="2"
  27. Content="{Binding CurrentControlView}" />
  28. </Grid>
  29. </Window>