<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options">

    <!--  obsolete  -->
    <ExponentialEase x:Key="ExpoEaseIn"
                     EasingMode="EaseIn"
                     Exponent="2" />
    <!--  obsolete  -->
    <ExponentialEase x:Key="ExpoEaseOut"
                     EasingMode="EaseOut"
                     Exponent="2" />
    <ExponentialEase x:Key="ExpoEaseInOut"
                     EasingMode="EaseInOut"
                     Exponent="2" />

    <DropShadowEffect x:Key="WaitingForDataEffect"
                      x:Shared="False"
                      BlurRadius="10"
                      Opacity="0"
                      ShadowDepth="0"
                      Color="{DynamicResource BlackColor}"
                      po:Freeze="True" />

    <Storyboard x:Key="WaitingForDataStoryboard" po:Freeze="True">
        <DoubleAnimation AutoReverse="True"
                         RepeatBehavior="Forever"
                         Timeline.DesiredFrameRate="30"
                         Storyboard.TargetName="PART_WaitingForDataEffectGrid"
                         Storyboard.TargetProperty="(Effect).Opacity"
                         From="0"
                         To="1"
                         Duration="00:00:02" />
    </Storyboard>

    <Storyboard x:Key="HideFloatingMessageStoryboard" po:Freeze="True">
        <DoubleAnimation EasingFunction="{StaticResource ExpoEaseInOut}"
                         Storyboard.TargetName="PART_FloatingMessageContainer"
                         Storyboard.TargetProperty="Opacity"
                         From="1"
                         To="0"
                         Duration="0:0:.2" />
        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_FloatingMessageContainer" Storyboard.TargetProperty="(UIElement.Visibility)">
            <DiscreteObjectKeyFrame KeyTime="0:0:.2" Value="{x:Static Visibility.Collapsed}" />
        </ObjectAnimationUsingKeyFrames>
    </Storyboard>

    <Storyboard x:Key="ShowFloatingMessageStoryboard" po:Freeze="True">
        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_FloatingMessageContainer" Storyboard.TargetProperty="(UIElement.Visibility)">
            <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" />
        </ObjectAnimationUsingKeyFrames>
        <DoubleAnimation EasingFunction="{StaticResource ExpoEaseInOut}"
                         Storyboard.TargetName="PART_FloatingMessageContainer"
                         Storyboard.TargetProperty="Opacity"
                         From="0"
                         To="1"
                         Duration="0:0:.2" />
    </Storyboard>

</ResourceDictionary>