SHARE
TWEET

Untitled

a guest Feb 12th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Window x:Class="ShoeStore.MainWindow"
  2.       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5.          xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  6.        xmlns:local="clr-namespace:ShoeStore"
  7.        Title="ShoeStore" Height="750" Width="1366"  WindowState="Normal" ResizeMode="NoResize" WindowStyle="None">
  8.  
  9.     <Grid>
  10.         <Grid.ColumnDefinitions>
  11.             <ColumnDefinition Width="280"/>
  12.             <ColumnDefinition />
  13.         </Grid.ColumnDefinitions>
  14.         <Grid.RowDefinitions>
  15.             <RowDefinition Height="30"/>
  16.             <RowDefinition />
  17.         </Grid.RowDefinitions>
  18.  
  19.         <Border Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Background="#7B001C" MouseLeftButtonDown="Border_MouseLeftButtonDown">
  20.             <Grid>
  21.                 <StackPanel HorizontalAlignment="Right" >
  22.                     <Button Name="Close" Width="40" Height="30" materialDesign:ShadowAssist.ShadowDepth="Depth0" BorderBrush="Transparent" Background="Transparent" Click="Close_Click" MouseEnter="MouseCloseEnter" MouseLeave="MouseCloseLeave" Margin="0 0 0 0" Padding="0">
  23.                         <materialDesign:PackIcon Kind="WindowClose" Width="22" Height="22" Foreground="White"  HorizontalAlignment="Center" VerticalAlignment="Center"/>
  24.                         </Button>
  25.                     <Button Name="Mini" Width="40" Height="30" materialDesign:ShadowAssist.ShadowDepth="Depth0" BorderBrush="Transparent" Click="Minimize_Click" MouseEnter="MouseMiniEnter" MouseLeave="MouseMiniLeave" Background="Transparent" Margin="-70 -30 0 0" Padding="0">
  26.                             <materialDesign:PackIcon Kind="WindowMinimize"  Width="22" Height="22" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  27.                         </Button>
  28.                     </StackPanel>
  29.              </Grid>
  30.         </Border>
  31.  
  32.         <StackPanel HorizontalAlignment="Left" Grid.Row="1" Grid.ColumnSpan="2" Margin="0 0 0 0"  Background="#06061d" >
  33.             <ListView x:Name="GridMenu" Foreground="White" FontFamily="Champagne & Limousines" FontSize="18">
  34.  
  35.                 <ListViewItem Height="50" Margin="0,5,0,0" Padding="0" ScrollViewer.CanContentScroll="True">
  36.                     <ListViewItem.Tag>
  37.                         <Frame Name="frame2" Margin="0,0,0,0" Source="PageClient.xaml" />
  38.                     </ListViewItem.Tag>
  39.                     <StackPanel Orientation="Horizontal" Margin="10 0">
  40.                         <materialDesign:PackIcon Kind="Account" Width="20" Height="20" Foreground="#FFF08033" Margin="5" VerticalAlignment="Center"/>
  41.                         <TextBlock Text="Клиенты" Margin="10"/>
  42.                     </StackPanel>
  43.                 </ListViewItem>
  44.  
  45.                 <Expander Background="#06061d" MinHeight="40" Width="264">
  46.                     <Expander.Header>
  47.                         <StackPanel Orientation="Horizontal" Margin="-20,0,0,0">
  48.                             <materialDesign:PackIcon Kind="Information" Width="20" Height="20" Foreground="WhiteSmoke" Margin="5" VerticalAlignment="Center"/>
  49.                             <TextBlock Foreground="White" Margin="10 0 0 0" Text="Справочники" Height="20"></TextBlock>
  50.                         </StackPanel>
  51.                     </Expander.Header>
  52.                     <StackPanel Background="#06061d" >
  53.                         <ListViewItem Height="40" Padding="0">
  54. <ListViewItem.Tag>
  55.                         <Frame Name="frame3" Margin="0,0,0,0" Source="PageCategory.xaml" />
  56.                     </ListViewItem.Tag>
  57.                             <StackPanel Orientation="Horizontal" Margin="34 0">
  58.                                 <TextBlock Text="Категории" Margin="10"/>
  59.                             </StackPanel>
  60.                         </ListViewItem>
  61.                         <ListViewItem Height="40" Padding="0">
  62.                             <StackPanel Orientation="Horizontal" Margin="34 0">
  63.                                 <TextBlock Text="Производители" Margin="10"/>
  64.                             </StackPanel>
  65.                         </ListViewItem>
  66.                         <ListViewItem Height="40" Padding="0">
  67.                             <StackPanel Orientation="Horizontal" Margin="34 0">
  68.                                 <TextBlock Text="Материалы" Margin="10"/>
  69.                             </StackPanel>
  70.                         </ListViewItem>
  71.  
  72.                     </StackPanel>
  73.                 </Expander>
  74.  
  75.             </ListView>
  76.         </StackPanel>
  77.  
  78.         <Border Grid.Column="1" Grid.Row="1" BorderThickness="0" Margin="0,0,0,0">
  79.             <ContentControl Content="{Binding SelectedItem.Tag, ElementName=GridMenu, UpdateSourceTrigger=PropertyChanged}" Margin="0,0,0,0"/>
  80.         </Border>
  81.     </Grid>
  82.  
  83. </Window>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top