<UserControl
    x:Class="WebAPIExplorer.UCMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WebAPIExplorer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <StackPanel Background="#354052">
            <Grid x:Name="MenuRoot">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <!-- Menu Button-->
                <Button x:Name="BtnMainLogo"  Grid.Row="0" Grid.Column="0" Background="Transparent" Margin="0,0,0,0" HorizontalAlignment="Center" Click="BtnMainLogo_Click">
                        <Image x:Name="ImgMainLogo1" Source="Assets/logoMain.png" Width="132" HorizontalAlignment="Left" />
                    </Button>
                <!-- Divider Image-->
                <Image x:Name="ImgDivider"  Grid.Row="1" Grid.Column="0" Source="Assets/divider.png" Width="150" HorizontalAlignment="Left" Margin="0,10,0,10"/>

                <!-- Excel Menu - Start-->
                <StackPanel x:Name="StkPnlExcelLink" Grid.Row="2" Grid.Column="0" Orientation="Horizontal" Margin="0,10,0,0" Tapped="StkPnlExcelLink_Tapped">
                    <Image x:Name="ImgMenuExcel" Source="Assets/icon_Expanded.png" Width="9" Height="9" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="9,0,5,0"/>
                    <TextBlock Text="EXCEL" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="14" Foreground="#a0abbf" FontFamily="Calibri Regular" />
                </StackPanel>
                <StackPanel x:Name="StkPnlExcelContent" Grid.Row="3" Grid.Column="0" Orientation="Horizontal" Margin="23,0,0,0" Padding="0,0,0,0">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />                            
                        </Grid.RowDefinitions>
                        <Button x:Name="BtnSMenuGenerateExcelText" Style="{StaticResource BtnMenuLinkStyle}" Grid.Row="0" Grid.Column="0" Content="Generate Excel" Foreground="#f1f1f1" FontFamily="Calibri Thin" FontSize="12" Background="Transparent" Padding="0" Click="BtnSMenuGenerateExcelText_Click"/>
                        <Button x:Name="BtnSMenuMergeExcelText" Style="{StaticResource BtnMenuLinkStyle}"  Grid.Row="1" Grid.Column="0" Content="Merge Excel Files" Foreground="#f1f1f1" FontFamily="Calibri Thin" FontSize="12" Background="Transparent" Padding="0" Click="BtnSMenuMergeExcelText_Click"/>
                    </Grid>
                </StackPanel>
                <!-- Excel Menu - End-->

                <!-- Barcode Menu - Start-->
                <StackPanel x:Name="StkPnlBarcodeLink" Grid.Row="4" Grid.Column="0" Orientation="Horizontal" Margin="0,10,0,0" Tapped="StkPnlBarcodeLink_Tapped">
                    <Image x:Name="ImgMenuBarcode" Source="Assets/icon_Expanded.png" Width="9" Height="9" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="9,0,5,0"/>
                    <TextBlock Text="BARCODE" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="14" Foreground="#a0abbf" FontFamily="Calibri Regular" />
                </StackPanel>
                <StackPanel x:Name="StkPnlBarcodeContent" Grid.Row="5" Grid.Column="0" Orientation="Horizontal" Margin="23,0,0,0" Padding="0,0,0,0">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />                        
                        </Grid.RowDefinitions>
                        <Button x:Name="BtnSMenuGenbarcodeText" Style="{StaticResource BtnMenuLinkStyle}" Grid.Row="0" Grid.Column="0" Content="Generate Barcode" Foreground="#f1f1f1" FontFamily="Calibri Thin" FontSize="12" Background="Transparent" Padding="0" Click="BtnSMenuGenbarcodeText_Click"/>                        
                    </Grid>
                </StackPanel>


                
            </Grid>
        </StackPanel>
    </Grid>
</UserControl>
