<Page
  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:noesis="clr-namespace:NoesisGUIExtensions"
  xmlns:system="clr-namespace:System;assembly=mscorlib"
  mc:Ignorable="d"
  d:DesignWidth="1920"
  d:DesignHeight="1080"
  Background="#FF4D5052" d:DataContext="DataSet">
  <Page.Resources>
    <ResourceDictionary/>
  </Page.Resources>
  <Grid x:Name="Grid_Master">
    <ContentControl Content="ContentControl"/>
    <Grid x:Name="Background_Grid">
      <Border x:Name="Backer_Border" Background="#FF8B0000"/>
      <Border x:Name="BackgroundImage_Border" Opacity="0.9">
        <Border.Background>
          <ImageBrush ImageSource="Assets/BackgroundImage.png" Stretch="UniformToFill"/>
        </Border.Background>
      </Border>
      <Border x:Name="Vignette_Border" Background="#FFFFFFFF" BlendingMode="Multiply">
        <Border.Effect>
          <noesis:VignetteEffect Strength="16" Size="0.1"/>
        </Border.Effect>
      </Border>
    </Grid>
    <Grid x:Name="Layout_Grid" noesis:DragDrop.IsOverlayHost="True">
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="64"/>
        <ColumnDefinition Width="1*"/>
        <ColumnDefinition Width="64"/>
        <ColumnDefinition Width="1*"/>
        <ColumnDefinition Width="64"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
        <RowDefinition Height="64"/>
        <RowDefinition Height="1*"/>
        <RowDefinition Height="64"/>
      </Grid.RowDefinitions>
      <Grid x:Name="Layout_Left_Grid" Grid.Column="1" Grid.Row="1">
        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="Auto"/>
          <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.Transform3D>
          <noesis:CompositeTransform3D/>
        </Grid.Transform3D>
        <TextBlock Text="menu" Margin="-64,24,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="#FFFFA500" FontFamily="Agbalumo" FontSize="140" TextWrapping="Wrap">
          <TextBlock.LayoutTransform>
            <TransformGroup>
              <ScaleTransform/>
              <SkewTransform/>
              <RotateTransform Angle="-90"/>
              <TranslateTransform/>
            </TransformGroup>
          </TextBlock.LayoutTransform>
          <TextBlock.Effect>
            <DropShadowEffect BlurRadius="32" Direction="-90" ShadowDepth="8" Opacity="0.25"/>
          </TextBlock.Effect>
        </TextBlock>
        <Grid x:Name="Menu_Grid" Grid.Column="1">
          <Grid.Transform3D>
            <noesis:CompositeTransform3D RotationY="-8"/>
          </Grid.Transform3D>
          <ListBox x:Name="Menu_Depth_ListBox" ItemsSource="{Binding Path=FastFoodItems}" Margin="0,8,8,0" Opacity="0.25" ItemContainerStyle="{DynamicResource ListBox_Item_Container_Depth_Menu_Style}" Template="{DynamicResource ListBox_Menu_Template}" ItemsPanel="{DynamicResource ListBox_ItemsPanel_Menu_Template}" ItemTemplate="{DynamicResource ListBox_Item_Depth_Menu_Template}"/>
          <ListBox x:Name="Menu_ListBox" ItemsSource="{Binding Path=FastFoodItems}" Margin="8.2,0,0,8" ItemContainerStyle="{DynamicResource ListBox_Item_Container_Menu_Style}" Template="{DynamicResource ListBox_Menu_Template}" ItemsPanel="{DynamicResource ListBox_ItemsPanel_Menu_Template}" ItemTemplate="{DynamicResource ListBox_Item_Menu_Template}"/>
        </Grid>
      </Grid>
      <Grid x:Name="Layout_Right_Grid" Grid.Column="3" Grid.Row="1">
        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="Auto"/>
          <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.Transform3D>
          <noesis:CompositeTransform3D/>
        </Grid.Transform3D>
        <TextBlock Text="my order" Margin="-64,24,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="#FFFAEBD7" FontFamily="Agbalumo" FontSize="140" TextWrapping="Wrap">
          <TextBlock.LayoutTransform>
            <TransformGroup>
              <ScaleTransform/>
              <SkewTransform/>
              <RotateTransform Angle="-90"/>
              <TranslateTransform/>
            </TransformGroup>
          </TextBlock.LayoutTransform>
          <TextBlock.Effect>
            <DropShadowEffect BlurRadius="32" Direction="-90" ShadowDepth="8" Opacity="0.25"/>
          </TextBlock.Effect>
        </TextBlock>
        <Grid x:Name="Order_Layout_Grid" Column="1">
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="2*"/>
          </Grid.ColumnDefinitions>
          <Grid x:Name="Order_Grid">
            <Grid.Transform3D>
              <noesis:CompositeTransform3D RotationY="8"/>
            </Grid.Transform3D>
            <ListBox x:Name="Order_Depth_ListBox" ItemsSource="{Binding Path=SlotItems}" Margin="0,0,-8,-8" Opacity="0.25" ItemContainerStyle="{DynamicResource ListBox_Item_Container_Depth_Menu_Style}" Template="{DynamicResource ListBox_Menu_Template}" ItemsPanel="{DynamicResource ListBox_ItemsPanel_Order_Template}" ItemTemplate="{DynamicResource ListBox_Item_Depth_Menu_Template}"/>
            <ListBox x:Name="Order_ListBox" ItemsSource="{Binding Path=SlotItems}" ItemContainerStyle="{DynamicResource ListBox_Item_Container_Order_Style}" Template="{DynamicResource ListBox_Menu_Template}" ItemsPanel="{DynamicResource ListBox_ItemsPanel_Order_Template}" ItemTemplate="{DynamicResource ListBox_Item_Menu_Template}"/>
          </Grid>
          <Grid x:Name="ThirdPane_Grid" Column="1">
            <Grid.RowDefinitions>
              <RowDefinition Height="Auto"/>
              <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.Transform3D>
              <noesis:CompositeTransform3D RotationY="16"/>
            </Grid.Transform3D>
            <Grid x:Name="PlaceOrderButton_Grid" Margin="0,64,0,64" HorizontalAlignment="Center" VerticalAlignment="Top">
              <Button x:Name="PlaceOrder_Depth_Button" Content="- Place Order &gt;" Width="{Binding Path=ActualWidth, ElementName=PlaceOrder_Button}" Height="{Binding Path=ActualHeight, ElementName=PlaceOrder_Button}" Margin="8,8,-8,-8" HorizontalAlignment="Center" VerticalAlignment="Top" Template="{DynamicResource Button_PlaceOrder_Depth_Template}">
                <Button.Transform3D>
                  <noesis:CompositeTransform3D/>
                </Button.Transform3D>
              </Button>
              <Button x:Name="PlaceOrder_Button" Content="- Place Order &gt;" HorizontalAlignment="Center" VerticalAlignment="Top" Template="{DynamicResource Button_PlaceOrder_Template}">
                <Button.Transform3D>
                  <noesis:CompositeTransform3D/>
                </Button.Transform3D>
              </Button>
            </Grid>
            <Grid x:Name="Bin_Grid" Margin="80,0,80,64" Row="1">
              <Grid.Transform3D>
                <noesis:CompositeTransform3D/>
              </Grid.Transform3D>
              <ContentControl x:Name="Bin_Depth_ContentControl" Content="{Binding Path=BinItem}" Margin="8,8,-8,-8" Opacity="0.1" ContentTemplate="{DynamicResource ContentControl_Content_Bin_Depth_Template}"/>
              <ContentControl x:Name="Bin_ContentControl" Content="{Binding Path=BinItem}" ContentTemplate="{DynamicResource ContentControl_Content_Bin_Template}" noesis:DragDrop.Role="DropOnly" noesis:DragDrop.Transfer="None"/>
            </Grid>
          </Grid>
        </Grid>
      </Grid>
    </Grid>
    <Grid x:Name="Foreground_Grid" IsHitTestVisible="False" d:IsLocked="True">
      <Border x:Name="Noise_Border" Opacity="0.25" Background="#FFFFFFFF" BlendingMode="Multiply">
        <Border.Effect>
          <noesis:NoiseEffect Monochromatic="True"/>
        </Border.Effect>
      </Border>
    </Grid>
  </Grid>
</Page>
