<Page
    x:Class="WebAPIExplorer.GenerateExcelPage"
    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 x:Name="LayoutRoot" Style="{StaticResource LayoutRootStyle}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <local:UCMenu x:Name="MainMenu" Grid.Row="0" Grid.Column="0" Height="720"/>

        <StackPanel Grid.Row="0" Grid.Column="1">
            <Grid x:Name="LayoutContent" Style="{StaticResource LayoutContentStyle}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <!-- Body Header- Start-->
                <local:UCBodyHeader x:Name="BodyHeader"/>
                <!-- Body Header- End-->

                <!-- Generate Excel Panel-->
                <ScrollViewer Style="{StaticResource ScrlVMainStyle}">
                    <StackPanel x:Name="StkPnlMainCommon" Style="{StaticResource StkPnlMainHomeStyle}">
                        <Grid x:Name="LayoutGenExcel" HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition MinHeight="50" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <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>
                            <!--Generate from dataset/collection-->
                            <TextBlock x:Name="TxtBlkGenExcelTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgTitleStyle}"/>
                            <StackPanel x:Name="StkPnlGenExcelGET1_Link" Grid.Row="1" Grid.Column="0" Tapped="StkPnlGenExcelGET1_Link_Tapped" Style="{StaticResource StkPnlAccordionLinkStyle}">
                                <Grid HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60" />
                                        <ColumnDefinition Width="100" />
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Border Style="{StaticResource BorderGETStyle}" Grid.Row="0" Grid.Column="0">
                                        <TextBlock Text="GET" Style="{StaticResource TxtBlkGETStyle}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle1}"  Grid.Row="0" Grid.Column="1">
                                        <TextBlock Text="/api/excel" Style="{StaticResource TxtBlkGETPOSTTextStyle1}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle2}"  Grid.Row="0" Grid.Column="2">
                                        <TextBlock x:Name="TxtBlkGenExcelGETDataGETPOSTText" Text="N/A" Style="{StaticResource TxtBlkGETPOSTTextStyle2}"/>
                                    </Border>
                                </Grid>
                            </StackPanel>
                            <StackPanel x:Name="StkPnlGenExcelGET1_Content" Grid.Row="2" Grid.Column="0" Visibility="Collapsed">
                                <Grid x:Name="LayoutGenExcelGET1" HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <StackPanel x:Name="StkPnlGenExcelGETDataDesc" Grid.Row="1" Grid.Column="0" Style="{StaticResource StkPnlPgDescStyle}">
                                        <TextBlock x:Name="TxtBlkGenExcelGETDataDesc" Text="N/A" Style="{StaticResource TxtBlkPgDescStyle}"/>
                                        <TextBlock x:Name="TxtBlkGenExcelGETDataDescDetails" Text="N/A" Style="{StaticResource TxtBlkPgDescDetailsStyle}"/>
                                    </StackPanel>
                                    <StackPanel x:Name="StkPnlGenExcelGETDataParam" Grid.Row="2" Grid.Column="0" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelGETDataParam">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="300"/>
                                                <ColumnDefinition Width="10"/>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <Button x:Name="BtnGenExcelGETData" Grid.Row="0" Grid.Column="0" Content="N/A" Style="{StaticResource BtnPgSubmitStyle}" Click="BtnGenExcelGETData_Click"/>
                                            <!-- Result/Barcode Image Panel-->
                                            <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource BorderGenBarcodeResultStyle}">
                                                <StackPanel x:Name="StkPnlGenExcelGETDataResult"  Style="{StaticResource StkPnlPgParamStyle}" Visibility="Collapsed">
                                                    <Grid x:Name="LayoutGenExcelGETDataResult">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition MinHeight="24"/>
                                                        </Grid.RowDefinitions>
                                                        <!--Line-1-->
                                                        <TextBlock x:Name="TxtBlkGenExcelGETDataResultRequestUrlTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                        <!--Line-2-->
                                                        <TextBlock x:Name="TxtBlkGenExcelGETDataResultRequestUrl" Grid.Row="1" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                                        <TextBlock x:Name="TxtBlkGenExcelGETDataResultMsg" Grid.Row="2" Grid.Column="0" Text="" Style="{StaticResource TxtBlkPgParamMsgStyle}"/>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelGETDataResultJson" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelGETDataResultJsonTitle" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelGETDataResultJson" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelGETDataResultxml" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelGETDataResultxmlTitle"  Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelGETDataResultxml" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                    </Grid>
                                                </StackPanel>
                                            </Border>
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataParamsHeader" Grid.Row="2" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataFileName" Grid.Row="4" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-3-->
                                            <!--Column-1-->
                                            <TextBox x:Name="TxtBoxGenExcelGETDataFileName" Text="excel"  Grid.Row="5" Grid.Column="0" Style="{StaticResource TxtBoxPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataFileNameDesc" Grid.Row="5" Grid.Column="2" Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-4-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataType" Grid.Row="7" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-5-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelGETDataType" Grid.Row="8" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataTypeDesc" Grid.Row="8" Grid.Column="2"  Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-6-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataDataName" Grid.Row="10" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-7-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelGETDataDataName"  Grid.Row="11" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataDataNameDesc" Grid.Row="11" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                        </Grid>


                                    </StackPanel>
                                    <!--Response Schema-->
                                    <StackPanel x:Name="StkPnlGenExcelGETDataResponseSchema" Grid.Row="3" Grid.Column="0" Visibility="Visible" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelGETDataResponseSchema">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition MinHeight="24"/>
                                                <RowDefinition MinHeight="24"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETDataResponseSchemaHeader" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsSettingsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}" Grid.Row="1" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelGETDataResponseSchema" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                            </ScrollViewer>
                                        </Grid>
                                    </StackPanel>

                                </Grid>
                            </StackPanel>

                            <!--Generate from XML-GET-->
                            <StackPanel x:Name="StkPnlGenExcelGET2_Link" Grid.Row="3" Grid.Column="0" Tapped="StkPnlGenExcelGET2_Link_Tapped" Style="{StaticResource StkPnlAccordionLinkStyle}">
                                <Grid HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60" />
                                        <ColumnDefinition Width="100" />
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Border Style="{StaticResource BorderGETStyle}" Grid.Row="0" Grid.Column="0">
                                        <TextBlock Text="GET" Style="{StaticResource TxtBlkGETStyle}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle1}"  Grid.Row="0" Grid.Column="1">
                                        <TextBlock Text="/api/excel" Style="{StaticResource TxtBlkGETPOSTTextStyle1}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle2}"  Grid.Row="0" Grid.Column="2">
                                        <TextBlock x:Name="TxtBlkGenExcelGETXMLGETPOSTText" Text="N/A" Style="{StaticResource TxtBlkGETPOSTTextStyle2}"/>
                                    </Border>
                                </Grid>
                            </StackPanel>
                            <StackPanel x:Name="StkPnlGenExcelGET2_Content" Grid.Row="4" Grid.Column="0" Visibility="Collapsed">
                                <Grid x:Name="LayoutGenExcelGET2" HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <StackPanel x:Name="StkPnlGenExcelGETXMLDesc" Grid.Row="1" Grid.Column="0" Style="{StaticResource StkPnlPgDescStyle}">
                                        <TextBlock x:Name="TxtBlkGenExcelGETXMLDesc" Text="N/A" Style="{StaticResource TxtBlkPgDescStyle}"/>
                                        <TextBlock x:Name="TxtBlkGenExcelGETXMLDescDetails" Text="N/A" Style="{StaticResource TxtBlkPgDescDetailsStyle}"/>
                                    </StackPanel>
                                    <StackPanel x:Name="StkPnlGenExcelGETXMLParam" Grid.Row="2" Grid.Column="0" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelGETXMLParam">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="300"/>
                                                <ColumnDefinition Width="10"/>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <Button x:Name="BtnGenExcelGETXML" Grid.Row="0" Grid.Column="0" Content="N/A" Style="{StaticResource BtnPgSubmitStyle}" Click="BtnGenExcelGETXML_Click"/>
                                            <!-- Result/Barcode Image Panel-->
                                            <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource BorderGenBarcodeResultStyle}">
                                                <StackPanel x:Name="StkPnlGenExcelGETXMLResult"  Style="{StaticResource StkPnlPgParamStyle}" Visibility="Collapsed">
                                                    <Grid x:Name="LayoutGenExcelGETXMLResult">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition MinHeight="24"/>
                                                        </Grid.RowDefinitions>
                                                        <!--Line-1-->
                                                        <TextBlock x:Name="TxtBlkGenExcelGETXMLResultRequestUrlTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                        <!--Line-2-->
                                                        <TextBlock x:Name="TxtBlkGenExcelGETXMLResultRequestUrl" Grid.Row="1" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                                        <TextBlock x:Name="TxtBlkGenExcelGETXMLResultMsg" Grid.Row="2" Grid.Column="0" Text="" Style="{StaticResource TxtBlkPgParamMsgStyle}"/>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelGETXMLResultJson" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLResultJsonTitle" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelGETXMLResultJson" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelGETXMLResultxml" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLResultxmlTitle"  Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelGETXMLResultxml" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                    </Grid>
                                                </StackPanel>
                                            </Border>
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLParamsHeader" Grid.Row="2" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLFileName" Grid.Row="4" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-3-->
                                            <!--Column-1-->
                                            <TextBox x:Name="TxtBoxGenExcelGETXMLFileName" Text="excel"  Grid.Row="5" Grid.Column="0" Style="{StaticResource TxtBoxPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLFileNameDesc" Grid.Row="5" Grid.Column="2" Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-4-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLType" Grid.Row="7" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-5-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelGETXMLType" Grid.Row="8" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLTypeDesc" Grid.Row="8" Grid.Column="2"  Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-6-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLDataFileName" Grid.Row="10" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-7-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelGETXMLDataFileName"  Grid.Row="11" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLDataFileNameDesc" Grid.Row="11" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLDataFileNameDesc2" Grid.Row="12" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}" Padding="0,5,0,0"/>
                                        </Grid>


                                    </StackPanel>
                                    <!--Response Schema-->
                                    <StackPanel x:Name="StkPnlGenExcelGETXMLResponseSchema" Grid.Row="3" Grid.Column="0" Visibility="Visible" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelGETXMLResponseSchema">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition MinHeight="24"/>
                                                <RowDefinition MinHeight="24"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETXMLResponseSchemaHeader" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsSettingsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}" Grid.Row="1" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelGETXMLResponseSchema" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                            </ScrollViewer>
                                        </Grid>
                                    </StackPanel>

                                </Grid>
                            </StackPanel>

                            <!--Convert between different formats-GET-->
                            <StackPanel x:Name="StkPnlGenExcelGET3_Link" Grid.Row="5" Grid.Column="0" Tapped="StkPnlGenExcelGET3_Link_Tapped" Style="{StaticResource StkPnlAccordionLinkStyle}">
                                <Grid HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60" />
                                        <ColumnDefinition Width="100" />
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Border Style="{StaticResource BorderGETStyle}" Grid.Row="0" Grid.Column="0">
                                        <TextBlock Text="GET" Style="{StaticResource TxtBlkGETStyle}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle1}"  Grid.Row="0" Grid.Column="1">
                                        <TextBlock Text="/api/excel" Style="{StaticResource TxtBlkGETPOSTTextStyle1}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle2}"  Grid.Row="0" Grid.Column="2">
                                        <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatGETPOSTText" Text="N/A" Style="{StaticResource TxtBlkGETPOSTTextStyle2}"/>
                                    </Border>
                                </Grid>
                            </StackPanel>
                            <StackPanel x:Name="StkPnlGenExcelGET3_Content" Grid.Row="6" Grid.Column="0" Visibility="Collapsed">
                                <Grid x:Name="LayoutGenExcelGET3" HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <StackPanel x:Name="StkPnlGenExcelGETConvertFormatDesc" Grid.Row="1" Grid.Column="0" Style="{StaticResource StkPnlPgDescStyle}">
                                        <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatDesc" Text="N/A" Style="{StaticResource TxtBlkPgDescStyle}"/>
                                        <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatDescDetails" Text="N/A" Style="{StaticResource TxtBlkPgDescDetailsStyle}"/>
                                    </StackPanel>
                                    <StackPanel x:Name="StkPnlGenExcelGETConvertFormatParam" Grid.Row="2" Grid.Column="0" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelGETConvertFormatParam">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="300"/>
                                                <ColumnDefinition Width="10"/>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <Button x:Name="BtnGenExcelGETConvertFormat" Grid.Row="0" Grid.Column="0" Content="N/A" Style="{StaticResource BtnPgSubmitStyle}" Click="BtnGenExcelGETConvertFormat_Click"/>
                                            <!-- Result/Barcode Image Panel-->
                                            <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource BorderGenBarcodeResultStyle}">
                                                <StackPanel x:Name="StkPnlGenExcelGETConvertFormatResult"  Style="{StaticResource StkPnlPgParamStyle}" Visibility="Collapsed">
                                                    <Grid x:Name="LayoutGenExcelGETConvertFormatResult">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition MinHeight="24"/>
                                                        </Grid.RowDefinitions>
                                                        <!--Line-1-->
                                                        <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatResultRequestUrlTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                        <!--Line-2-->
                                                        <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatResultRequestUrl" Grid.Row="1" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                                        <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatResultMsg" Grid.Row="2" Grid.Column="0" Text="" Style="{StaticResource TxtBlkPgParamMsgStyle}"/>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelGETConvertFormatResultJson" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatResultJsonTitle" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelGETConvertFormatResultJson" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelGETConvertFormatResultxml" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatResultxmlTitle"  Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelGETConvertFormatResultxml" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                    </Grid>
                                                </StackPanel>
                                            </Border>
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatParamsHeader" Grid.Row="2" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatFileName" Grid.Row="4" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-3-->
                                            <!--Column-1-->
                                            <TextBox x:Name="TxtBoxGenExcelGETConvertFormatFileName" Text="excel"  Grid.Row="5" Grid.Column="0" Style="{StaticResource TxtBoxPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatFileNameDesc" Grid.Row="5" Grid.Column="2" Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-4-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatType" Grid.Row="7" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-5-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelGETConvertFormatType" Grid.Row="8" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatTypeDesc" Grid.Row="8" Grid.Column="2"  Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-6-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatWorkBookFileName" Grid.Row="10" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-7-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelGETConvertFormatWorkBookFileName"  Grid.Row="11" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatWorkBookFileNameDesc" Grid.Row="11" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                        </Grid>


                                    </StackPanel>
                                    <!--Response Schema-->
                                    <StackPanel x:Name="StkPnlGenExcelGETConvertFormatResponseSchema" Grid.Row="3" Grid.Column="0" Visibility="Visible" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelGETConvertFormatResponseSchema">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition MinHeight="24"/>
                                                <RowDefinition MinHeight="24"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelGETConvertFormatResponseSchemaHeader" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsSettingsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}" Grid.Row="1" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelGETConvertFormatResponseSchema" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                            </ScrollViewer>
                                        </Grid>
                                    </StackPanel>

                                </Grid>
                            </StackPanel>

                            <!--Generate from XML-POST-->
                            <StackPanel x:Name="StkPnlGenExcelGET4_Link" Grid.Row="7" Grid.Column="0" Tapped="StkPnlGenExcelGET4_Link_Tapped" Style="{StaticResource StkPnlAccordionLinkStyle}">
                                <Grid HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60" />
                                        <ColumnDefinition Width="100" />
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Border Style="{StaticResource BorderPOSTStyle}" Grid.Row="0" Grid.Column="0">
                                        <TextBlock Text="POST" Style="{StaticResource TxtBlkGETStyle}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle1}"  Grid.Row="0" Grid.Column="1">
                                        <TextBlock Text="/api/excel" Style="{StaticResource TxtBlkGETPOSTTextStyle1}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle2}"  Grid.Row="0" Grid.Column="2">
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTXMLGETPOSTText" Text="N/A" Style="{StaticResource TxtBlkGETPOSTTextStyle2}"/>
                                    </Border>
                                </Grid>
                            </StackPanel>
                            <StackPanel x:Name="StkPnlGenExcelGET4_Content" Grid.Row="8" Grid.Column="0" Visibility="Collapsed">
                                <Grid x:Name="LayoutGenExcelGET4" HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <StackPanel x:Name="StkPnlGenExcelPOSTXMLDesc" Grid.Row="1" Grid.Column="0" Style="{StaticResource StkPnlPgDescStyle}">
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTXMLDesc" Text="N/A" Style="{StaticResource TxtBlkPgDescStyle}"/>
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTXMLDescDetails" Text="N/A" Style="{StaticResource TxtBlkPgDescDetailsStyle}"/>
                                    </StackPanel>
                                    <StackPanel x:Name="StkPnlGenExcelPOSTXMLParam" Grid.Row="2" Grid.Column="0" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelPOSTXMLParam">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="300"/>
                                                <ColumnDefinition Width="10"/>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <Button x:Name="BtnGenExcelPOSTXML" Grid.Row="0" Grid.Column="0" Content="N/A" Style="{StaticResource BtnPgSubmitStyle}" Click="BtnGenExcelPOSTXML_Click"/>
                                            <!-- Result Panel-->
                                            <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource BorderGenBarcodeResultStyle}">
                                                <StackPanel x:Name="StkPnlGenExcelPOSTXMLResult"  Style="{StaticResource StkPnlPgParamStyle}" Visibility="Collapsed">
                                                    <Grid x:Name="LayoutGenExcelPOSTXMLResult">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition MinHeight="24"/>
                                                        </Grid.RowDefinitions>
                                                        <!--Line-1-->
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTXMLResultRequestUrlTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                        <!--Line-2-->
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTXMLResultRequestUrl" Grid.Row="1" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTXMLResultMsg" Grid.Row="2" Grid.Column="0" Text="" Style="{StaticResource TxtBlkPgParamMsgStyle}"/>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelPOSTXMLResultJson" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLResultJsonTitle" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelPOSTXMLResultJson" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelPOSTXMLResultxml" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLResultxmlTitle"  Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelPOSTXMLResultxml" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                    </Grid>
                                                </StackPanel>
                                            </Border>
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLParamsHeader" Grid.Row="2" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLFileName" Grid.Row="4" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-3-->
                                            <!--Column-1-->
                                            <TextBox x:Name="TxtBoxGenExcelPOSTXMLFileName" Text="excel"  Grid.Row="5" Grid.Column="0" Style="{StaticResource TxtBoxPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLFileNameDesc" Grid.Row="5" Grid.Column="2" Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-4-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLType" Grid.Row="7" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-5-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelPOSTXMLType" Grid.Row="8" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLTypeDesc" Grid.Row="8" Grid.Column="2"  Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-6-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLDataFile" Grid.Row="10" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-7-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkCtrlGenExcelPOSTXMLDataFile"  Grid.Row="11" Grid.Column="0" Text="N/A" Tapped="TxtBlkCtrlGenExcelPOSTXMLDataFile_Tapped"/>

                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLDataFileDesc" Grid.Row="11" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLDataFileDesc2" Grid.Row="12" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}" Padding="0,5,0,0"/>
                                        </Grid>


                                    </StackPanel>
                                    <!--Response Schema-->
                                    <StackPanel x:Name="StkPnlGenExcelPOSTXMLResponseSchema" Grid.Row="3" Grid.Column="0" Visibility="Visible" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelPOSTXMLResponseSchema">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition MinHeight="24"/>
                                                <RowDefinition MinHeight="24"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTXMLResponseSchemaHeader" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsSettingsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}" Grid.Row="1" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelPOSTXMLResponseSchema" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                            </ScrollViewer>
                                        </Grid>
                                    </StackPanel>

                                </Grid>
                            </StackPanel>

                            <!--Generate from JSON-POST-->
                            <StackPanel x:Name="StkPnlGenExcelGET5_Link" Grid.Row="9" Grid.Column="0" Tapped="StkPnlGenExcelGET5_Link_Tapped" Style="{StaticResource StkPnlAccordionLinkStyle}">
                                <Grid HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60" />
                                        <ColumnDefinition Width="100" />
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Border Style="{StaticResource BorderPOSTStyle}" Grid.Row="0" Grid.Column="0">
                                        <TextBlock Text="POST" Style="{StaticResource TxtBlkGETStyle}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle1}"  Grid.Row="0" Grid.Column="1">
                                        <TextBlock Text="/api/excel" Style="{StaticResource TxtBlkGETPOSTTextStyle1}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle2}"  Grid.Row="0" Grid.Column="2">
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTJSONGETPOSTText" Text="N/A" Style="{StaticResource TxtBlkGETPOSTTextStyle2}"/>
                                    </Border>
                                </Grid>
                            </StackPanel>
                            <StackPanel x:Name="StkPnlGenExcelGET5_Content" Grid.Row="10" Grid.Column="0" Visibility="Collapsed">
                                <Grid x:Name="LayoutGenExcelGET5" HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <StackPanel x:Name="StkPnlGenExcelPOSTJSONDesc" Grid.Row="1" Grid.Column="0" Style="{StaticResource StkPnlPgDescStyle}">
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTJSONDesc" Text="N/A" Style="{StaticResource TxtBlkPgDescStyle}"/>
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTJSONDescDetails" Text="N/A" Style="{StaticResource TxtBlkPgDescDetailsStyle}"/>
                                    </StackPanel>
                                    <StackPanel x:Name="StkPnlGenExcelPOSTJSONParam" Grid.Row="2" Grid.Column="0" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelPOSTJSONParam">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="300"/>
                                                <ColumnDefinition Width="10"/>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <Button x:Name="BtnGenExcelPOSTJSON" Grid.Row="0" Grid.Column="0" Content="N/A" Style="{StaticResource BtnPgSubmitStyle}" Click="BtnGenExcelPOSTJSON_Click"/>
                                            <!-- Result Panel-->
                                            <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource BorderGenBarcodeResultStyle}">
                                                <StackPanel x:Name="StkPnlGenExcelPOSTJSONResult"  Style="{StaticResource StkPnlPgParamStyle}" Visibility="Collapsed">
                                                    <Grid x:Name="LayoutGenExcelPOSTJSONResult">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition MinHeight="24"/>
                                                        </Grid.RowDefinitions>
                                                        <!--Line-1-->
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTJSONResultRequestUrlTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                        <!--Line-2-->
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTJSONResultRequestUrl" Grid.Row="1" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTJSONResultMsg" Grid.Row="2" Grid.Column="0" Text="" Style="{StaticResource TxtBlkPgParamMsgStyle}"/>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelPOSTJSONResultJson" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONResultJsonTitle" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelPOSTJSONResultJson" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelPOSTJSONResultxml" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONResultxmlTitle"  Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelPOSTJSONResultxml" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                    </Grid>
                                                </StackPanel>
                                            </Border>
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONParamsHeader" Grid.Row="2" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONFileName" Grid.Row="4" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-3-->
                                            <!--Column-1-->
                                            <TextBox x:Name="TxtBoxGenExcelPOSTJSONFileName" Text="excel"  Grid.Row="5" Grid.Column="0" Style="{StaticResource TxtBoxPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONFileNameDesc" Grid.Row="5" Grid.Column="2" Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-4-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONType" Grid.Row="7" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-5-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelPOSTJSONType" Grid.Row="8" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONTypeDesc" Grid.Row="8" Grid.Column="2"  Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-6-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONData" Grid.Row="10" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-7-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVJSONData}" Grid.Row="11" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelPOSTJSONData" Text="N/A" Style="{StaticResource TxtBoxPgParamCtrlJSONDataStyle}"/>
                                            </ScrollViewer>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONDataDesc" Grid.Row="11" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                        </Grid>


                                    </StackPanel>
                                    <!--Response Schema-->
                                    <StackPanel x:Name="StkPnlGenExcelPOSTJSONResponseSchema" Grid.Row="3" Grid.Column="0" Visibility="Visible" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelPOSTJSONResponseSchema">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition MinHeight="24"/>
                                                <RowDefinition MinHeight="24"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTJSONResponseSchemaHeader" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsSettingsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}" Grid.Row="1" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelPOSTJSONResponseSchema" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                            </ScrollViewer>
                                        </Grid>
                                    </StackPanel>

                                </Grid>
                            </StackPanel>


                            <!--Convert between different formats-POST-->
                            <StackPanel x:Name="StkPnlGenExcelGET6_Link" Grid.Row="11" Grid.Column="0" Tapped="StkPnlGenExcelGET6_Link_Tapped" Style="{StaticResource StkPnlAccordionLinkStyle}">
                                <Grid HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60" />
                                        <ColumnDefinition Width="100" />
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Border Style="{StaticResource BorderPOSTStyle}" Grid.Row="0" Grid.Column="0">
                                        <TextBlock Text="POST" Style="{StaticResource TxtBlkGETStyle}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle1}"  Grid.Row="0" Grid.Column="1">
                                        <TextBlock Text="/api/excel" Style="{StaticResource TxtBlkGETPOSTTextStyle1}"/>
                                    </Border>
                                    <Border Style="{StaticResource BorderGETPOSTTextStyle2}"  Grid.Row="0" Grid.Column="2">
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatGETPOSTText" Text="N/A" Style="{StaticResource TxtBlkGETPOSTTextStyle2}"/>
                                    </Border>
                                </Grid>
                            </StackPanel>
                            <StackPanel x:Name="StkPnlGenExcelGET6_Content" Grid.Row="12" Grid.Column="0" Visibility="Collapsed">
                                <Grid x:Name="LayoutGenExcelGET6" HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <StackPanel x:Name="StkPnlGenExcelPOSTConvertFormatDesc" Grid.Row="1" Grid.Column="0" Style="{StaticResource StkPnlPgDescStyle}">
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatDesc" Text="N/A" Style="{StaticResource TxtBlkPgDescStyle}"/>
                                        <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatDescDetails" Text="N/A" Style="{StaticResource TxtBlkPgDescDetailsStyle}"/>
                                    </StackPanel>
                                    <StackPanel x:Name="StkPnlGenExcelPOSTConvertFormatParam" Grid.Row="2" Grid.Column="0" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelPOSTConvertFormatParam">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="300"/>
                                                <ColumnDefinition Width="10"/>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition MinHeight="15"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <Button x:Name="BtnGenExcelPOSTConvertFormat" Grid.Row="0" Grid.Column="0" Content="N/A" Style="{StaticResource BtnPgSubmitStyle}" Click="BtnGenExcelPOSTConvertFormat_Click"/>
                                            <!-- Result Panel-->
                                            <Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Style="{StaticResource BorderGenBarcodeResultStyle}">
                                                <StackPanel x:Name="StkPnlGenExcelPOSTConvertFormatResult"  Style="{StaticResource StkPnlPgParamStyle}" Visibility="Collapsed">
                                                    <Grid x:Name="LayoutGenExcelPOSTConvertFormatResult">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition MinHeight="24"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition Height="Auto"/>
                                                            <RowDefinition MinHeight="24"/>
                                                        </Grid.RowDefinitions>
                                                        <!--Line-1-->
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatResultRequestUrlTitle" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                        <!--Line-2-->
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatResultRequestUrl" Grid.Row="1" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                                        <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatResultMsg" Grid.Row="2" Grid.Column="0" Text="" Style="{StaticResource TxtBlkPgParamMsgStyle}"/>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelPOSTConvertFormatResultJson" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatResultJsonTitle" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelPOSTConvertFormatResultJson" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                        <!--Line-4-->
                                                        <StackPanel x:Name="StkPnlGenExcelPOSTConvertFormatResultxml" Grid.Row="3" Grid.Column="0" Visibility="Collapsed">
                                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatResultxmlTitle"  Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}">
                                                                <TextBox x:Name="TxtBoxGenExcelPOSTConvertFormatResultxml" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                                            </ScrollViewer>
                                                        </StackPanel>
                                                    </Grid>
                                                </StackPanel>
                                            </Border>
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatParamsHeader" Grid.Row="2" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatFileName" Grid.Row="4" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-3-->
                                            <!--Column-1-->
                                            <TextBox x:Name="TxtBoxGenExcelPOSTConvertFormatFileName" Text="excel"  Grid.Row="5" Grid.Column="0" Style="{StaticResource TxtBoxPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatFileNameDesc" Grid.Row="5" Grid.Column="2" Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-4-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatType" Grid.Row="7" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-5-->
                                            <!--Column-1-->
                                            <ComboBox x:Name="CmbGenExcelPOSTConvertFormatType" Grid.Row="8" Grid.Column="0" Style="{StaticResource CmbPgParamCtrlStyle}"/>
                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatTypeDesc" Grid.Row="8" Grid.Column="2"  Text="N/A" Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                            <!--Line-6-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatWorkbookFile" Grid.Row="10" Grid.Column="0"  Text="N/A" Style="{StaticResource TxtBlkPgParamTitleStyle}"/>
                                            <!--Line-7-->
                                            <!--Column-1-->
                                            <TextBlock x:Name="TxtBlkCtrlGenExcelPOSTConvertFormatWorkbookFile"  Grid.Row="11" Grid.Column="0" Text="N/A" Tapped="TxtBlkCtrlGenExcelPOSTConvertFormatWorkbookFile_Tapped"/>

                                            <!--Column-2-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatWorkbookFileDesc" Grid.Row="11" Grid.Column="2" Text="N/A"  Style="{StaticResource TxtBlkPgParamDescStyle}"/>
                                        </Grid>


                                    </StackPanel>
                                    <!--Response Schema-->
                                    <StackPanel x:Name="StkPnlGenExcelPOSTConvertFormatResponseSchema" Grid.Row="3" Grid.Column="0" Visibility="Visible" Style="{StaticResource StkPnlPgParamStyle}">
                                        <Grid x:Name="LayoutGenExcelPOSTConvertFormatResponseSchema">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*" />
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition MinHeight="32"/>
                                                <RowDefinition MinHeight="24"/>
                                                <RowDefinition MinHeight="24"/>
                                            </Grid.RowDefinitions>
                                            <!--Line-1-->
                                            <TextBlock x:Name="TxtBlkGenExcelPOSTConvertFormatResponseSchemaHeader" Grid.Row="0" Grid.Column="0" Text="N/A" Style="{StaticResource TxtBlkPgParamsSettingsHeaderStyle}"/>
                                            <!--Line-2-->
                                            <!--Column-1-->
                                            <ScrollViewer Style="{StaticResource ScrlVResultXML}" Grid.Row="1" Grid.Column="0">
                                                <TextBox x:Name="TxtBoxGenExcelPOSTConvertFormatResponseSchema" Text="N/A" Style="{StaticResource TxtBoxResultxmlStyle}"/>
                                            </ScrollViewer>
                                        </Grid>
                                    </StackPanel>

                                </Grid>
                            </StackPanel>














                        </Grid>
                    </StackPanel>
                </ScrollViewer>


            </Grid>
        </StackPanel>



    </Grid>



</Page>
