|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
<ScrollViewer Grid.Row="2" Grid.ColumnSpan="2">
|
|
|
|
|
<TextBlock TextWrapping="Wrap" FontSize="12" Margin="15,5,15,5" HorizontalAlignment="Left" DockPanel.Dock="Top" Foreground="{StaticResource Couleur3}" TextAlignment="Center" x:Name="desc" Text="{Binding SelectedRequin.Description}"></TextBlock>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
<MediaElement Source="{Binding SelectedRequin.Video}" DockPanel.Dock="Bottom" MaxHeight="125" MinHeight="50" Margin="0,20,0,0" HorizontalAlignment="Center" Grid.ColumnSpan="2" Grid.Row="3" x:Name="vid" MouseDown="vid_MouseDown"/>
|
|
|
|
|
<MediaElement Source="{Binding SelectedRequin.Video}" DockPanel.Dock="Bottom" MaxHeight="125" MinHeight="50" Margin="0,20,0,0" HorizontalAlignment="Center" Grid.ColumnSpan="2" Grid.Row="3" x:Name="vid"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
<DockPanel Background="{StaticResource Couleur3}" DockPanel.Dock="Right">
|
|
|
|
@ -41,8 +41,8 @@
|
|
|
|
|
<Image Source="{Binding SelectedRequin.StatutCons}" Margin="15,5,5,5" DockPanel.Dock="Top" HorizontalAlignment="Center" MinHeight="5" MaxHeight="60" x:Name="consPic" ></Image>
|
|
|
|
|
<TextBlock Text="Fun fact" FontSize="20" DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0,15,0,0" Foreground="{StaticResource Couleur1}" FontFamily="{StaticResource Police2}" ></TextBlock>
|
|
|
|
|
<TextBlock Text="{Binding SelectedRequin.FunFact}" FontSize="12" DockPanel.Dock="Bottom" TextWrapping="Wrap" Foreground="{StaticResource Couleur1}" Margin="0,5,0,0" TextAlignment="Center" HorizontalAlignment="Center" Width="175" x:Name="funFact"></TextBlock>
|
|
|
|
|
<Button Style="{StaticResource Button1}" DockPanel.Dock="Left" Width="80" Height="50" Content="Valider" Margin="50,20,0,0"/>
|
|
|
|
|
<Button Style="{StaticResource Button1}" DockPanel.Dock="Right" Width="80" Height="50" Content="Refuser" Margin="0,20,0,0"/>
|
|
|
|
|
<Button Style="{StaticResource Button1}" DockPanel.Dock="Left" Width="80" Height="50" Content="Valider" Margin="50,20,0,0" x:Name="valider" Click="valider_Click"/>
|
|
|
|
|
<Button Style="{StaticResource Button1}" DockPanel.Dock="Right" Width="80" Height="50" Content="Refuser" Margin="0,20,0,0" x:Name="refuser" Click="refuser_Click"/>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</DockPanel>
|
|
|
|
|
</UserControl>
|
|
|
|
|