﻿<Style
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:p="using:Arkadium.Win10.Xaml.Toolkit.Controls"
    TargetType="p:WaiterIndicatorAnimation">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate
                TargetType="p:WaiterIndicatorAnimation">
                <Border
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Width="{TemplateBinding Width}"
                    Height="{TemplateBinding Height}">
                    <ProgressRing
                        Foreground="{TemplateBinding Foreground}"
                        Width="{TemplateBinding Width}"
                        Height="{TemplateBinding Height}"
                        IsActive="True"
                    />
                </Border>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
