<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: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:Name="btnTranscrire" Content="Transcrire" Grid.Row="0" Grid.Column="0"  Height="30" VerticalAlignment="Top" HorizontalAlignment="Stretch" IsEnabled="True" Click="BtnTranscrire_Click"/>
        <Button x:Name="btnLire" Content="Lire" Grid.Row="0" Grid.Column="0"  Height="30" VerticalAlignment="Center" HorizontalAlignment="Stretch" Click="BtnLire_Click"/>
        <MediaElement x:Name="mediaElt" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left"  VerticalAlignment="Bottom" Height="50" Width="50" />
        <TextBox 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:Name="btnTrad" Content="Traduire Texte" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Click="BtnTrad_Click"/>
        <Button x:Name="btnLireTrad" Content="Lire Texte Traduit" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Click="BtnLireTrad_Click"/>
        <Button x:Name="btnTradEtLire" Content="Traduire et Lire Texte" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"  Click="BtnTradEtLire_Click"/>

    </Grid>
</Page>
