<Window x:Class="FasdDesktopUi.Pages.SuccessPage.SuccessPage"
        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:FasdDesktopUi.Pages.SuccessPage"
        xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
        mc:Ignorable="d"
        d:Height="300"
        d:Width="300"
        Background="Transparent"
        AllowsTransparency="True"
        WindowStyle="none"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen"
        ShowInTaskbar="False"
        Topmost="True"
        IsVisibleChanged="BlurInvoker_IsActiveChanged">

    <Border x:Name="MainBorder"
            CornerRadius="20"
            Background="{DynamicResource Color.AppBackground}"
            Height="250"
            Width="250">
        <Grid>
            <ico:AdaptableIcon x:Name="SuccessIcon"
                               IconWidth="250"
                               IconHeight="250"
                               SelectedInternGif="partyPopper"
                               BorderPadding="45 0 0 45" />

            <ico:AdaptableIcon x:Name="CloseButton"
                               Style="{DynamicResource SettingsPage.Close.Icon}"
                               SelectedInternIcon="window_close"
                               HorizontalAlignment="Right"
                               VerticalAlignment="Top"
                               Margin="7.5 2.5"
                               MouseLeftButtonUp="CloseButton_MouseLeftButtonUp"
                               TouchDown="CloseButton_TouchDown" />
        </Grid>
    </Border>

</Window>
