<Window
    x:Class="PDF_Master.CustomControl.AlertsMessage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:PDF_Master.CustomControl"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    MinWidth="400"
    MinHeight="156"
    Background="Transparent"
    ResizeMode="NoResize"
    ShowInTaskbar="False"
    SizeToContent="WidthAndHeight"
    Style="{StaticResource DialogWindowStyle}"
    WindowStartupLocation="CenterScreen"
    mc:Ignorable="d">
    
    <Border
      
        HorizontalAlignment="Stretch"
        Height="auto"
        Background="White"
        CornerRadius="6"
        MouseLeftButtonDown="Border_PreviewMouseLeftButtonDown">
        <Grid Margin="16,0" HorizontalAlignment="Stretch">
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="auto " />
            </Grid.RowDefinitions>
            <StackPanel VerticalAlignment="Center">
                <StackPanel
                    Margin="0,16,0,0"
                    VerticalAlignment="Center"
                    Orientation="Horizontal">
                    <Grid
                        Name="GridIcon"
                        Width="24"
                        Height="24"
                        Margin="0,0,8,0"
                        Visibility="Collapsed">
                        <Image
                            x:Name="ImgTips"
                            Source="pack://application:,,,/Resources/Dialog/Tips.png"
                            Visibility="Collapsed" />
                    </Grid>
                    <TextBlock
                        x:Name="TitleText"
                        Width="Auto"
                        FontSize="16"
                        FontWeight="SemiBold"
                        Foreground="{StaticResource color.sys.text.neutral.lv1}"
                        Text="Make sure to delete the selected material?"
                        TextWrapping="Wrap" />
                </StackPanel>
                <TextBlock
                    x:Name="ContentText"
                    Width="Auto"
                    Margin="0,16"
                    FontSize="14"
                    Foreground="{StaticResource color.sys.text.neutral.lv1}"
                    Text="Make sure to delete the selected material?"
                    TextWrapping="Wrap" />
            </StackPanel>

            <Grid
                x:Name="BtnGrid"
                Grid.Row="1"
                Height="64">
                <CheckBox
                    x:Name="ChbDonotAskAgain"
                    Checked="ChbDonotAskAgain_Checked"
                    Content="Don't ask again"
                    Unchecked="ChbDonotAskAgain_Unchecked"
                    Visibility="Collapsed" />
                <StackPanel
                    Margin="0,0,-4,0"
                    HorizontalAlignment="Right"
                    Orientation="Horizontal">
                    <Button
                        x:Name="OkBtn"
                        Grid.Column="0"
                        Height="28"
                        MinWidth="80"
                        Margin="4,0"
                        Padding="8,0"
                        HorizontalAlignment="Center"
                        Click="OkBtn_Click"
                        Content="Save"
                        FontSize="14"
                        FontWeight="SemiBold"
                        IsDefault="True"
                        Style="{StaticResource Btn.cta}" />
                    <Button
                        x:Name="MiddleCancelBtn"
                        Grid.Column="1"
                        Height="28"
                        MinWidth="80"
                        Margin="4,0"
                        Padding="8,0"
                        HorizontalAlignment="Center"
                        Click="MiddleCancelBtn_Click"
                        Content="Do not Save"
                        FontSize="14"
                        FontWeight="SemiBold"
                        Style="{StaticResource btn.sec}" />
                    <Button
                        x:Name="CancelBtn"
                        Grid.Column="2"
                        Height="28"
                        MinWidth="80"
                        Margin="4,0"
                        Padding="8,0"
                        HorizontalAlignment="Center"
                        Click="CancelBtn_Click"
                        Content="Cancel"
                        FontSize="14"
                        FontWeight="SemiBold"
                        IsCancel="True"
                        Style="{StaticResource btn.sec}" />
                </StackPanel>
            </Grid>
        </Grid>

    </Border>
</Window>