MainWindow.xaml 1.9 KB

12345678910111213141516171819202122232425262728293031
  1. <Window x:Class="Books_Shop_Kopey.MainWindow"
  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:Books_Shop_Kopey" xmlns:HamburgerMenu="clr-namespace:HamburgerMenu;assembly=HamburgerMenu"
  7. mc:Ignorable="d"
  8. Title="" Height="450" Width="800" Icon="\Image\books.png">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="153*"/>
  12. <ColumnDefinition Width="647*"/>
  13. </Grid.ColumnDefinitions>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="47*"/>
  16. <RowDefinition Height="387*"/>
  17. </Grid.RowDefinitions>
  18. <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontStyle="Italic" FontSize="30" Grid.ColumnSpan="2">Книжный магазин</TextBlock>
  19. <Frame Background="White" x:Name="MainPage" Grid.Row="1" Grid.ColumnSpan="3" NavigationUIVisibility="Hidden" Margin="52,2,1,1"/>
  20. <HamburgerMenu:HamburgerMenu x:Name="menuNavigation" Grid.Column="0" Grid.ColumnSpan="1" Grid.RowSpan="2" BorderThickness="1" BorderBrush="White" Background="#253254" MenuIconColor="White" SelectionIndicatorColor="White" MenuItemForeground="White" HorizontalAlignment="Left" Width="50">
  21. <HamburgerMenu:HamburgerMenuItem x:Name="bookin" Icon="\Image\books.png" Text="Книги" Selected="bookin_Selected" />
  22. <HamburgerMenu:HamburgerMenuItem x:Name="shop" Icon="\Image\shop.png" Text="Корзина" Selected="shop_Selected" />
  23. <HamburgerMenu:HamburgerMenuItem x:Name="returnB" Icon="\Image\profile.png" Text="Профиль"/>
  24. </HamburgerMenu:HamburgerMenu>
  25. </Grid>
  26. </Window>