<Page
    x:Class="PollyEtTranslate.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PollyEtTranslate"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Height="606.735" Width="1173.111">

    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <TextBox x:ConnectionId='2' x:Name="txtTranscrit"  Margin="10,0,0,10" Grid.Row="0" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="Texte Transcrit" TextWrapping="Wrap" RequestedTheme="Default"/>
        <Button x:ConnectionId='3' x:Name="btnTranscrire" Content="Transcrire" Grid.Row="0" Grid.Column="0"  Height="30" VerticalAlignment="Top" HorizontalAlignment="Stretch" IsEnabled="True"                            />
        <Button x:ConnectionId='4' x:Name="btnLire" Content="Lire" Grid.Row="0" Grid.Column="0"  Height="30" VerticalAlignment="Center" HorizontalAlignment="Stretch"                      />
        <MediaElement x:ConnectionId='5' x:Name="mediaElt" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left"  VerticalAlignment="Bottom" Height="50" Width="50" />
        <TextBox x:ConnectionId='6' x:Name="txtTraduit" Margin="10,0,0,0" Grid.Row="1" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="Traduction ici" TextWrapping="Wrap"/>
        <Button x:ConnectionId='7' x:Name="btnTrad" Content="Traduire Texte" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Top"                      />
        <Button x:ConnectionId='8' x:Name="btnLireTrad" Content="Lire Texte Traduit" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Center"                           />
        <Button x:ConnectionId='9' x:Name="btnTradEtLire" Content="Traduire et Lire Texte" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"                             />

    </Grid>
</Page>

