<UserControl x:Class="WpfApp1.UserControlEdit"
             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">
    <DockPanel>
        <DockPanel x:Name="Button" DockPanel.Dock="Top">
            <TextBlock Text="EDIT A SHARK" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="20" FontSize="30" FontWeight="Bold" FontFamily="Candara Light"  Foreground="{StaticResource Couleur2}"/>
            <Button x:Name="exit" Style="{StaticResource Button1}" HorizontalAlignment="Right" VerticalAlignment="Center" Content="x" Width="50" Height="50" FontSize="25" Click="exit_Click"></Button>
        </DockPanel>
        <DockPanel Background="{StaticResource Couleur1}">
            <TextBlock DockPanel.Dock="Top" Text="Shark information :" Margin="15" FontSize="18" Foreground="{StaticResource Couleur3}"/>
            <Grid Width="800">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <local:UserControlBoite Grid.Column="0" Grid.Row="0"  Message="Nom" x:Name="leNom" Contenu="" IsEnabled="False"/>
                <local:UserControlBoite Grid.Column="0" Grid.Row="1" Message="Nom scientifique" x:Name="nomSci" Contenu="" IsEnabled="False"/>
                <local:UserControlBoite Grid.Column="0" Grid.Row="2" Message="Description" x:Name="desc" Contenu=""/>
                <local:UserControlBoite Grid.Column="0" Grid.Row="3" Message="Lien de la photo" x:Name="LienPhoto" Contenu=""/>
                <local:UserControlBoite Grid.Column="0" Grid.Row="4" Message="Lien de la vidéo" x:Name="LienVid" Contenu=""/>
                <local:UserControlBoite Grid.Column="1" Grid.Row="0" Message="Lien de la map" x:Name="LienMap" Contenu="" />
                <local:UserControlBoite Grid.Column="1" Grid.Row="1" Message="Fun fact (optionnel)" x:Name="funFact" Contenu=""/>
                <Grid Grid.Column="1" Grid.Row="2" ShowGridLines="True" Width="320" Height="19" VerticalAlignment="Top" Background="{StaticResource Couleur2}" Margin="40,0,40,0">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <TextBlock Text="Zone(s) d'habitation" HorizontalAlignment="Center" Grid.Row="0" Foreground="{StaticResource Couleur3}"/>
                </Grid>
                <Grid Grid.Column="1" Grid.Row="2" Margin="40,19,40,64" Width="320" Background="White" Grid.RowSpan="2">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <CheckBox Content="Océan Atlantique" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="40,0,0,0"/>
                    <CheckBox Content="Océan Arctique" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" Margin="0,0,20,0"/>
                    <CheckBox Content="Océan Indien" Grid.Column="0" Grid.Row="2"  HorizontalAlignment="Left" Margin="40,0,0,0"/>
                    <CheckBox Content="Océan Pacifique"  Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" Margin="0,0,20,0"/>
                </Grid>




                <Grid Grid.Column="1" Grid.Row="3" ShowGridLines="True" Width="320" Height="19" VerticalAlignment="Top" Background="{StaticResource Couleur2}" Margin="40,0,40,0">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <TextBlock Text="Conservation" HorizontalAlignment="Center" Grid.Row="0" Foreground="{StaticResource Couleur3}"/>
                </Grid>
                <Grid Grid.Column="1" Grid.Row="3" Margin="40,19,40,0" Width="320" Background="White">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="EX" Grid.Column="0" Grid.Row="0"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="EW" Grid.Column="1" Grid.Row="0"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="CR" Grid.Column="2" Grid.Row="0"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="EN"  Grid.Column="3" Grid.Row="0"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="VU" Grid.Column="4" Grid.Row="0"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="VN" Grid.Column="0" Grid.Row="1"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="LC" Grid.Column="1" Grid.Row="1"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="DD"  Grid.Column="2" Grid.Row="1"/>
                    <RadioButton Style="{StaticResource RadioGaga}" Content="NE"  Grid.Column="3" Grid.Row="1"/>
                </Grid>

                <Button Style="{StaticResource Button1}" Grid.Column="2" Grid.Row="4" Content="Submit" Margin="150,15,150,15" Width="100"/>
            </Grid>
        </DockPanel>
    </DockPanel>
</UserControl>
