<UserControl x:Class="Hearthstone_Deck_Tracker.Utility.Toasts.ToastControls.ProgressIndicator"
             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:controls="http://metro.mahapps.com/winfx/xaml/controls"
             mc:Ignorable="d" Name="UserControl"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <controls:ProgressRing IsActive="True" Foreground="White" Visibility="{Binding ProgressRingVisibility}" Width="{Binding Width, ElementName=UserControl}" Height="{Binding Height, ElementName=UserControl}"/>
        <Rectangle Visibility="{Binding CheckMarkVisibility}">
            <Rectangle.Fill>
                <VisualBrush Visual="{StaticResource appbar_check_green}"/>
            </Rectangle.Fill>
        </Rectangle>
        <Rectangle Visibility="{Binding ErrorVisibility}">
            <Rectangle.Fill>
                <VisualBrush Visual="{StaticResource appbar_warning_circle}"/>
            </Rectangle.Fill>
        </Rectangle>
    </Grid>
</UserControl>
