private async void ExperimentsButton_OnClick(object sender, RoutedEventArgs e)
        {
            await Task.WhenAll(
                AnimationTrigger.AnimateClose(),
                ExperimentsButton.AnimateAsync(new FlipAnimation()),
                ExperimentsButton.AnimateAsync(new BounceOutAnimation()),
                HelloButton.AnimateAsync(new BounceOutUpAnimation()),
                SponsorText.AnimateAsync(new LightSpeedOutLeftAnimation())
                );

            Frame.Navigate(typeof(ExperimentPage));
        }
Beispiel #2
0
        private async void ShowcaseButton_OnClick(object sender, RoutedEventArgs e)
        {
            await Task.WhenAll(
                AnimationTrigger.AnimateClose(),
                ShowcaseButton.AnimateAsync(new FlipAnimation()),
                ShowcaseButton.AnimateAsync(new BounceOutDownAnimation()),
                NavigationButton.AnimateAsync(new BounceOutDownAnimation()),
                ExperimentsButton.AnimateAsync(new BounceOutDownAnimation()),
                SponsorText.AnimateAsync(new LightSpeedOutLeftAnimation())
                );

            NavigationService.Navigate(new Uri("/ShowcasePage.xaml", UriKind.Relative));
        }