Esempio n. 1
0
        /// <internalonly />
        protected internal override ProceduralAnimation CreateEffectAnimation(AnimationEffectDirection direction)
        {
            FrameworkElement target = GetTarget();

            PulsateAnimation animation = new PulsateAnimation(target, Duration, _fadeOpacity);
            animation.Interpolation = GetEffectiveInterpolation();

            return animation;
        }
Esempio n. 2
0
        /// <internalonly />
        protected internal override ProceduralAnimation CreateEffectAnimation(EffectDirection direction)
        {
            FrameworkElement target = GetTarget();

            PulsateAnimation animation = new PulsateAnimation(target, Duration, _fadeOpacity);

            animation.Interpolation = GetEffectiveInterpolation();

            return(animation);
        }