private async void Button_Click(object sender, RoutedEventArgs e)
        {
            var button = sender as Button;

            if (button == null)
            {
                return;
            }

            // Animate the target
            var animationName       = button.Tag as string;
            var animationDefinition = GetAnimationDefinition(animationName);

            await target.AnimateAsync(new ResetAnimation());

            if (animationDefinition == null)
            {
                return;
            }

            await Task.WhenAll(new[]
            {
                target.AnimateAsync(animationDefinition),
                PersonWIthShaddow.AnimateAsync(animationDefinition),
                ((Control)sender).AnimateAsync(animationDefinition)
            });

            await((Control)sender).AnimateAsync(new ResetAnimation());   // Synchronous
            await target.AnimateAsync(new ResetAnimation());

            await Task.Delay(TimeSpan.FromSeconds(1));

            await PersonWIthShaddow.AnimateAsync(new ResetAnimation());
        }
        /// The methods provided in this section are simply used to allow
        /// NavigationHelper to respond to the page's navigation methods.
        ///
        /// Page specific logic should be placed in event handlers for the
        /// <see cref="GridCS.Common.NavigationHelper.LoadState"/>
        /// and <see cref="GridCS.Common.NavigationHelper.SaveState"/>.
        /// The navigation parameter is available in the LoadState method
        /// in addition to page state preserved during an earlier session.

        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            navigationHelper.OnNavigatedTo(e);

            await PersonWIthShaddow.MoveToAsync(0, new Point(-300, 0));

            await PersonWIthShaddow.MoveToAsync(6, new Point(0, 0), new QuarticEase());
        }
 private async void WalkButton_Click(object sender, RoutedEventArgs e)
 {
     //AnimationManager.PrepareControl(AnimatedHeadImage);
     await PersonWIthShaddow.AnimateAsync(WalkAnimation(PersonWIthShaddow));
 }