<Window x:Class="ReAct_PME.ParametresQdrant"
        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:ReAct_PME"
        mc:Ignorable="d"
        Title="Parametres Qdrant" Height="250" Width="500" Background="#FFF0F0F0">
    <Grid Margin="10,10,10,10">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="0"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock Text="URL Qdrant (avec le port si nécessaire):" Grid.Row="0" VerticalAlignment="Center"/>
        <TextBox Text="{Binding SelectedItem.Qdrant_URL, Mode=TwoWay}"  MaxLength="255"  Grid.Row="0" Margin="220,0,0,0"/>

        <TextBlock Text="Https ?" Grid.Row="1" VerticalAlignment="Center"/>
        <CheckBox IsChecked="{Binding SelectedItem.Qdrant_IsHttps, Mode=TwoWay}" Grid.Row="1" Margin="220,0,0,0" VerticalAlignment="Center"/>


        
        <TextBlock x:Name="Message" Text="..." Grid.Row="3" VerticalAlignment="Center"/>

        <StackPanel Orientation="Vertical" Grid.Row="4" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,0">
            <Button 
                Content="Sauvegarder" Width="80" Margin="5" 
                Style="{DynamicResource ButtonStyle}" 
                Click="Button_Click"
                />
            <Button Content="Fermer" Width="80" Margin="5" 
                Style="{DynamicResource ButtonStyle}" 
                Click="Button_Click_1"                
                />
        </StackPanel>
    </Grid>
</Window>