<Window x:Class="PixiEditor.Views.LoadingWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:local="clr-namespace:PixiEditor.Views"
        xmlns:gif="http://wpfanimatedgif.codeplex.com"
        mc:Ignorable="d" ShowInTaskbar="False" WindowStyle="None"
        ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
        Title="LoadingWindow" Height="180" Width="160"
        Background="Transparent"
        AllowsTransparency="True"
        x:Name="Window">
    <Border Background="{StaticResource AccentColor}"
            BorderBrush="{StaticResource MainColor}" BorderThickness="1.5"
            CornerRadius="10">
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <Image
                gif:ImageBehavior.AnimatedSource="{Binding LoadingImage, ElementName=Window}"
                Height="70"
                gif:ImageBehavior.AnimationSpeedRatio="1.5"/>
            <TextBlock Foreground="White" Text="PixiEditor"
                       FontFamily="Roboto" FontWeight="900" FontSize="28"
                       Margin="0,10,0,0"/>
        </StackPanel>
    </Border>
</Window>
