1
votes

I'd like to know if there is any way to create custom animations for transitions between to Pages in WinRT.

Currently the only way I've found to animate the entrance of a Page is to add this kind of stuff in its xaml :

<Page.Transitions>
  <TransitionCollection>
    <PaneThemeTransition Edge="Right" />
  </TransitionCollection>
</Page.Transitions>

Which makes it slide in from the right. The problem is I also want the current page to slide out to the left at the same time. Currently it only disappears, leaving the screen black while the new page slides in. I also need to choose when to use the animation, depending on which page I'm coming from.

1
Did you find a solution to this? - tagy22
Nope, I ended up not using transition animations... Sorry. - Jukurrpa

1 Answers

0
votes

Check out the Frame.Navigate method.

You can use that to define the animation for a page you are navigating to by the NavigationTransitionInfo class.

With fine tuning your own animations you will probably want to try build your own PageTransition using StoryBoards.