<Page x:Class="cosifacile.OrderDetails"
      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:sys="clr-namespace:System;assembly=mscorlib"         
      mc:Ignorable="d" 
      d:DesignHeight="1000" d:DesignWidth="1080"
	Title="OrderDetails" Unloaded="Page_Unloaded" Loaded="Page_Loaded">
    <Page.Resources>
        <sys:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}">50</sys:Double>
        <sys:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}">50</sys:Double>
    </Page.Resources>
    <Grid Background="White">
        <Image x:Name="imgLogo" HorizontalAlignment="Left" Height="161" Margin="30,30,0,0" VerticalAlignment="Top" Width="567" Source="images/logo.png" />
        <ScrollViewer x:Name="itemScroller" HorizontalAlignment="Left" Height="480" Margin="70,392,0,0" VerticalAlignment="Top" Width="942" VerticalScrollBarVisibility="Auto" >
            <Grid>
            <StackPanel x:Name="notFoundPanel" Visibility="Hidden">

            </StackPanel>
            <StackPanel x:Name="substitutePanel" Visibility="Hidden">

            </StackPanel>
            </Grid>
        </ScrollViewer>
        <Label x:Name="lblTimer" Content="10" HorizontalAlignment="Center" Margin="757,913,227,0" VerticalAlignment="Top" Height="87" Width="96" FontSize="48"/>
        <Button x:Name="btnEsci" Content="ESCI" HorizontalAlignment="Left" Margin="858,923,0,0" VerticalAlignment="Top" Width="192" Height="49" Click="btnEsci_Click"/>
        <Label x:Name="lblWrong" Content="Alcuni prodotti della tua spesa non sono più disponibili. Per questo motivo ti proponiamo le seguenti alternative: " HorizontalAlignment="Left" Margin="70,230,0,0" VerticalAlignment="Top" Width="942" FontFamily="FontAwesome"/>
        <Grid x:Name="grdTab" HorizontalAlignment="Left" Height="100" Margin="70,287,0,0" VerticalAlignment="Top" Width="942" Background="Gainsboro">
            <Grid x:Name="tabSubstituted" Width="471" Margin="0,0,0,0" HorizontalAlignment="Left" Background="DarkGreen">
                <Label x:Name="lblSostituted" Foreground="White" FontSize="36" HorizontalAlignment="Center" VerticalAlignment="Center" MouseUp="lblSostituted_MouseUp">ARTICOLI NON TROVATI</Label>
            </Grid>
            <Grid x:Name="tabNotfound" Width="471" Margin="0,0,0,0" HorizontalAlignment="Right">
                <Label x:Name="lblNotfound" Foreground="White" FontSize="36" HorizontalAlignment="Center" VerticalAlignment="Center" MouseUp="lblNotfound_MouseUp">ARTICOLI SOSTITUITI</Label>
            </Grid>
        </Grid>
    </Grid>
</Page>
