<Window x:Class="JtkPcClientWpf.AlertWindow"
        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:JtkPcClientWpf"
        mc:Ignorable="d"
        x:Name="thisWindow"
        Title="AlertWindow" Height="167.333" Width="374" ResizeMode="NoResize" WindowStyle="None" 
AllowsTransparency="True"
Background="Transparent" WindowStartupLocation="CenterScreen">
    <Grid>
        <Border CornerRadius="5" BorderBrush="#FF3B3B3B" BorderThickness="1" >
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop x:Name="GradStop1" Color="#FF5B5B5B" Offset="0"/>
                    <GradientStop x:Name="GradStop2" Color="#FF292929" Offset="1"/>
                </LinearGradientBrush>
            </Border.Background>
            <Grid DataContext="{Binding ElementName=thisWindow}">
                <Grid.Resources>
                    <Style TargetType="TextBlock">
                        <Setter Property="Foreground" Value="White" />
                        <!--<Setter Property="FontWeight" Value="Bold" />-->
                        <Setter Property="FontSize" Value="18"/>
                        <Setter Property="Effect">
                            <Setter.Value>
                                <DropShadowEffect BlurRadius="15" ShadowDepth="0" Opacity="1"/>
                            </Setter.Value>
                        </Setter>
                    </Style>

                </Grid.Resources>
                
                <Image Source="baseline_error_white_48dp.png" Margin="10,10,325,116.333">
                    <Image.Effect>
                        <DropShadowEffect BlurRadius="10" ShadowDepth="0"/>
                    </Image.Effect>
                </Image>
                <Border BorderBrush="{x:Null}" Margin="55,10,10,116.333">
                    <TextBlock TextWrapping="Wrap" Text="{Binding AlertTitle}" VerticalAlignment="Center" FontSize="18"/>
                </Border>
                <Border BorderBrush="{x:Null}" Margin="10,54,10,37.333">
                    <TextBlock TextWrapping="Wrap" Text="{Binding AlertText}" VerticalAlignment="Center" TextAlignment="Center" FontSize="22"/>
                </Border>
                <Button Content="확인" HorizontalAlignment="Left" Margin="287,133,0,0" VerticalAlignment="Top" Width="75" IsDefault="True" Click="Button_Click"/>
            </Grid>
        </Border>
    </Grid>
</Window>
