示例#1
0
        private void FruitsList_Loaded(object sender, RoutedEventArgs e)
        {
            if (null == _incomingObject)
            {
                return;
            }
            ContainerVisual tempContainer;

            //Execute animations and re-parenting when layout is available so that we know where to take the visual for final animation.
            ContinuityHelper.InitiateContinuity(_incomingObject.rectImage, _incomingObject.imageContainerVisual, out tempContainer);
            _incomingObject.imageContainerVisual = tempContainer;
        }
示例#2
0
        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            ContainerVisual tempConatinerVisual;

            //Run animations and re-parenting when page is loaded and elements are available on page.
            ContinuityHelper.InitiateContinuity(HeroRectangle, _parameterObject.imageContainerVisual, out tempConatinerVisual);

            //set Application Parameters to move between pages.
            _parameterObject.imageContainerVisual = tempConatinerVisual;
            var coordinate = HeroRectangle.TransformToVisual(Window.Current.Content);

            DetailText.Visibility = Visibility.Visible;
        }