Bonjour,
Je cherches depuis ce matin sans trouver.
Je n'arrives pas à clicker sur la partie supérieur de mes boutons Pourquoi?

Code XAML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!-- AllowsTransparency="True" Background="Transparent" -->
<Window x:Class="Seafight_launcher.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Seafight_launcher"
        xmlns:cefsharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
        mc:Ignorable="d"
        WindowStyle="none"
        ShowInTaskbar="True"
        SizeChanged="Window_SizeChanged"
        Title="Launcher" Height="450" Width="800" >
    <!-- remove white strip on top -->
    <WindowChrome.WindowChrome>
        <WindowChrome GlassFrameThickness="0,0,0,1" CornerRadius="0" />
    </WindowChrome.WindowChrome>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height ="auto" />
            <RowDefinition Height = "*" />
        </Grid.RowDefinitions>
        <!-- Title barre -->
        <Grid Grid.Row="0" VerticalAlignment="Stretch" Name="titleBar" MouseDown="Drage_window">
            <Label HorizontalContentAlignment="Left" Content="Logo"/>
            <Label HorizontalContentAlignment="Center"/>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                <Button Content="🗗" Click="SizeChangeButton_Click" Background="Transparent" BorderThickness="0" Name="SizeChangeButton" />
                <Button Content="🗕" Click="MinimizeButton_Click" Background="Transparent" BorderThickness="0" />
                <Button Content="🗙" Click="CloseButton_Click" Background="Transparent" BorderThickness="0" />
            </StackPanel>
        </Grid>
        <!-- Interface -->
        <Grid Grid.Row="1" VerticalAlignment="Stretch">
 
        </Grid>
    </Grid>
</Window>
Lorsque je mets mon stackpanel dans la Row 1 tout est bon à quoi est-ce du?
Merci
Ajout: Je viens de trouver.
C'était dû à cela
Code XAML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
    <WindowChrome.WindowChrome>
        <WindowChrome GlassFrameThickness="0,0,0,1" CornerRadius="0" />
    </WindowChrome.WindowChrome>

Par-contre du coup comment puis-je supprimer la ligner blanche au dessus?
https://prnt.sc/ryle6i