<Page
    x:Class="Comprehend.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Comprehend"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" d:DesignWidth="1354" d:DesignHeight="697.5">

    <Grid>
        <TextBox x:ConnectionId='2' x:Name="txtInput" HorizontalAlignment="Left" Height="156" Margin="64,79,0,0" Text="Il y avait sur le trône d'Angleterre un roi avec une forte mâchoire et une reine au visage laid ; il y avait sur le trône de France un roi avec une forte mâchoire et une reine au visage agréable. Dans les deux pays, il était plus clair que le cristal aux grands de l'État réservés, eux, par le miracle de la multiplication des pains et des poissons, que les choses en général étaient ainsi arrangées pour toujours." VerticalAlignment="Top" Width="325" TextWrapping="Wrap" ScrollViewer.VerticalScrollBarVisibility="Auto" />
        <Button x:ConnectionId='3' x:Name="btnCompLangue" Content="Détecter langue" HorizontalAlignment="Left" Height="32" Margin="441,55,0,0" VerticalAlignment="Top" Width="137"                            />
        <Button x:ConnectionId='4' x:Name="btnSentiment" Content="Détecter Sentiment" HorizontalAlignment="Left" Height="32" Margin="441,92,0,0" VerticalAlignment="Top" Width="137"                           />
        <TextBlock x:ConnectionId='5' x:Name="txtInputLangue" HorizontalAlignment="Left" Height="71" Margin="612,60,0,0" Text="Résultat :" TextWrapping="Wrap" VerticalAlignment="Top" Width="149"/>
        <ComboBox x:ConnectionId='6' x:Name="cboCompIn" Height="30" Margin="64,291,0,0" Width="325"                                              />
        <ComboBox x:ConnectionId='7' x:Name="cboCompOut" Height="31" Margin="64,355,0,0" Width="325"                                                IsEnabled="False"/>
        <ProgressBar x:ConnectionId='8' x:Name="proCompJob" HorizontalAlignment="Left" Height="15" Margin="612,306,0,0" VerticalAlignment="Top" Width="148"/>
        <Button x:ConnectionId='9' x:Name="btnEntites" Content="Détecter Entités" HorizontalAlignment="Left" Height="32" Margin="441,129,0,0" VerticalAlignment="Top" Width="137"                         />
        <Button x:ConnectionId='10' x:Name="btnPhrase" Content="Détecter Phrases" HorizontalAlignment="Left" Height="32" Margin="441,166,0,0" VerticalAlignment="Top" Width="137"                        />
        <Button x:ConnectionId='11' x:Name="btnSyntaxe" Content="Détecter Syntaxe" HorizontalAlignment="Left" Height="32" Margin="441,203,0,0" VerticalAlignment="Top" Width="137"                         />
        <TextBlock x:ConnectionId='12' x:Name="txtCompLangue" HorizontalAlignment="Left" Height="29" Margin="612,271,0,0" Text="TextBlock" TextWrapping="Wrap" VerticalAlignment="Top" Width="241"/>
        <GridView x:ConnectionId='13' x:Name="grdData" VerticalAlignment="Top" SelectionMode="None" IsSwipeEnabled="false" Height="180" Margin="773,55,50,0" Background="#FFEDEDED">
            <GridView.ItemTemplate>
                <DataTemplate>
                    <Grid HorizontalAlignment="Stretch" x:Name="grdInside">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock x:Name="txtGridType" Grid.Column="0" HorizontalAlignment="Stretch" Text="{Binding Path=PartOfSpeech.Tag}" />
                        <TextBlock x:Name="txtGridText" Grid.Column="1" HorizontalAlignment="Stretch" Text="{Binding Path=Text}" />
                    </Grid>
                </DataTemplate>
            </GridView.ItemTemplate>
        </GridView>
        <GridView x:ConnectionId='14' x:Name="grdCompData" VerticalAlignment="Top" SelectionMode="None" IsSwipeEnabled="false" Height="178" Margin="773,272,50,0" Background="#FFEDEDED">
            <GridView.ItemTemplate>
                <DataTemplate>
                    <Grid HorizontalAlignment="Left" x:Name="grdInside">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock x:Name="txtCompGridType" Grid.Column="0" Text="{Binding Path=Type}" />
                        <TextBlock x:Name="txtCompGridText" Grid.Column="1" Text="{Binding Path=Text}" />
                    </Grid>
                </DataTemplate>
            </GridView.ItemTemplate>
        </GridView>
        <Button x:ConnectionId='15' x:Name="btnCompLangue1" Content="Détecter langue" HorizontalAlignment="Left" Height="32" Margin="441,271,0,0" VerticalAlignment="Top" Width="137"                              IsEnabled="False"/>
        <Button x:ConnectionId='16' x:Name="btnCompSent" Content="Détecter Sentiment" HorizontalAlignment="Left" Height="32" Margin="441,308,0,0" VerticalAlignment="Top" Width="137"                           IsEnabled="False"/>
        <Button x:ConnectionId='17' x:Name="btnCompEntites" Content="Détecter Entités" HorizontalAlignment="Left" Height="32" Margin="441,344,0,0" VerticalAlignment="Top" Width="137"                              IsEnabled="False"/>
        <Button x:ConnectionId='18' x:Name="btnCompPhrases" Content="Détecter Phrases" HorizontalAlignment="Left" Height="32" Margin="441,381,0,0" VerticalAlignment="Top" Width="137"                              IsEnabled="False"/>
        <Button x:ConnectionId='19' x:Name="btnEntitePerso" Content="Entités persos" HorizontalAlignment="Left" Height="32" Margin="441,418,0,0" VerticalAlignment="Top" Width="137"                              IsEnabled="False"/>
        <Button x:ConnectionId='20' x:Name="btnDetectCustomClass" Content="Classification" Height="37" Margin="441,471,0,0" VerticalAlignment="Top" Width="135"                                    IsEnabled="False"/>
        <TextBlock x:ConnectionId='21' x:Name="txtCustomClassOut" HorizontalAlignment="Left" TextWrapping="Wrap" Height="200" Margin="612,471,0,0" Text="" VerticalAlignment="Top" Width="361"/>
        <Button x:ConnectionId='22' x:Name="btnChoixImage" Content="Choisir Image" Height="35" Margin="64,602,0,0" VerticalAlignment="Top" Width="325"                            />
        <TextBox x:ConnectionId='23' x:Name="txtSageMakerResponse" HorizontalAlignment="Left" Height="35" Margin="64,642,0,0" Text="TextBox" VerticalAlignment="Top" Width="325"/>
        <TextBlock x:ConnectionId='24' x:Name="txtLibelle" HorizontalAlignment="Left" Margin="64,55,0,0" Text="Remplacez le texte ci-dessous si vous le souhaitez" TextWrapping="Wrap" VerticalAlignment="Top"/>
        <TextBlock x:ConnectionId='25' x:Name="lblCompIn" HorizontalAlignment="Left" Margin="64,272,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="199"><Run Text="Compartiment"/><Run Text=" S3"/><Run Text=" Source"/></TextBlock>
        <TextBlock x:ConnectionId='26' x:Name="lblCompOut" HorizontalAlignment="Left" Margin="64,336,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="229" Height="19"><Run Text="Compartiment "/><Run Text="S3 "/><Run Text="Destination"/><LineBreak/><Run/></TextBlock>
    </Grid>
</Page>

