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 }
private static void AnimatorAnimationCompleted(object sender, AnimationCompletedEventArgs e) { (e.Source as Image)?.RaiseEvent(e); }
private static void AnimatorAnimationCompleted(object sender, AnimationCompletedEventArgs e) { var element = e.Source as Image; element?.RaiseEvent(e); }