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

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="4*"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>
        <Button x:ConnectionId='1' x:Name="demarreTest" Content="Démarrer le test" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"              />
        <Button x:ConnectionId='2' x:Name="arreteTest" IsEnabled="False" Content="Stopper le test"  Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"             />
        <TextBlock x:Name="InputTextBlock" TextWrapping="Wrap" HorizontalAlignment="Center" Text="Votre profil de conducteur (Prudent+écoconduite / Prudent / Normal / Dangereux) : " FontSize="21.333" Width="336" Grid.Row="1" Grid.ColumnSpan="2"/>

        <TextBlock x:Name="Results" TextWrapping="Wrap" HorizontalAlignment="Center" Text="No data" Width="336" Grid.Row="2" Grid.ColumnSpan="2" FontSize="64" TextAlignment="Center" LineHeight="8"/>
        <ProgressRing x:Name="progressRing" IsActive="False" Grid.Row="2" Grid.ColumnSpan="2"/>
        <!--<Button x:Name="button" Content="Display Clusters" HorizontalAlignment="Left" Margin="122,299,0,0" VerticalAlignment="Top" Click="button_Click"/>-->
        <TextBlock x:Name="runningLabel" Grid.Row="3" Grid.Column="0" TextWrapping="Wrap" Text="Pas de test en ocours" VerticalAlignment="Top" HorizontalAlignment="Center" />
        <TextBlock x:Name="nbMesures"  Grid.Row="3" Grid.Column="1" TextWrapping="Wrap" Text="Nombre de mesures prises:" VerticalAlignment="Top" HorizontalAlignment="Center"/>
    </Grid>
</Page>

