Example #1
0
        private async void Page_Loaded(object sender, RoutedEventArgs e)
        {
            await Task.Delay(200); //delay while the page finishes animating

            ToTextBlock.Opacity = 1;
            Storyboard storyboard = ContinuumNavigationEntranceFactory.GetAnimation(ToTextBlock);

            storyboard.Begin();
        }
Example #2
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (_pinnedFavoriteClicked != null &&
                _pinnedFavoritesList != null)
            {
                var clickedItem = (FrameworkElement)_pinnedFavoritesList.ContainerFromItem(_pinnedFavoriteClicked);

                _pinnedFavoritesList   = null;
                _pinnedFavoriteClicked = null;

                clickedItem = clickedItem.FindChild <TextBlock>("FavoriteName");
                var storyboard = ContinuumNavigationEntranceFactory.GetAnimation(clickedItem);
                storyboard.Begin();
            }
            base.OnNavigatedTo(e);
        }