<UserControl x:Class="WpfApp1.UserControlRequin"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:WpfApp1"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800"
             MouseDown="UserControlReq_MouseDown">
    
    <ListBoxItem MouseDown="UserControlReq_MouseDown">
        <Border MouseDown="UserControlReq_MouseDown" BorderThickness="2" BorderBrush="{StaticResource Couleur2}" CornerRadius="4" Padding="4">
            <Grid MouseDown="UserControlReq_MouseDown" Width="225">
                <Grid.ColumnDefinitions>

                    <ColumnDefinition Width="2*"/>
                    <ColumnDefinition Width="3*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>
                <Image Source="{Binding SelectedRequin.Photo}" Width="100" Height="50" Grid.RowSpan="2" Margin="4" MouseDown="UserControlReq_MouseDown" x:Name="image" Stretch="Fill"/>
                <TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding SelectedRequin.Nom}" FontFamily="{StaticResource Police2}" MouseDown="UserControlReq_MouseDown" Foreground="{StaticResource Couleur1}" x:Name="nameReq" Margin="0,5,0,0"/>
                <TextBlock Grid.Column="1" Grid.Row="1" Text="{Binding SelectedRequin.NomSci}" FontWeight="Thin" MouseDown="UserControlReq_MouseDown" Foreground="{StaticResource Couleur2}" x:Name="sciName"/>
            </Grid>
        </Border>
    </ListBoxItem>
</UserControl>
