Ejemplo n.º 1
0
        private static void AnimatorAnimationCompleted(object sender, AnimationCompletedEventArgs e)
        {
#if WPF
            var element = e.Source as Image;
            element?.RaiseEvent(e);
#elif WINRT || SILVERLIGHT
            AnimationCompleted?.Invoke(e.Source, e);
#endif
        }
Ejemplo n.º 2
0
 private static void AnimatorAnimationCompleted(object sender, AnimationCompletedEventArgs e)
 {
     (e.Source as Image)?.RaiseEvent(e);
 }
Ejemplo n.º 3
0
        private static void AnimatorAnimationCompleted(object sender, AnimationCompletedEventArgs e)
        {
            var element = e.Source as Image;

            element?.RaiseEvent(e);
        }