IPageAnimation

Package: MyToolkit.Extended
Platforms: WinRT(Universal)

Interface for implementing custom page transition animations.

Methods to implement:
  • AnimateForwardNavigatingFromAsync: Animate the previousPage and nextPage for navigating from the previousPage. Warning: nextPage is null when PageInsertionMode is Sequential.
  • AnimateForwardNavigatedToAsync: Animate the previousPage and nextPage for navigated to the nextPage. Warning: previousPage is null when PageInsertionMode is Sequential.
  • AnimateBackwardNavigatingFromAsync: Same as AnimateForwardNavigatingFromAsync but called when navigating back.
  • AnimateBackwardNavigatedToAsync: Same as AnimateForwardNavigatedToAsync but called when navigating back.
PageInsertionMode
  • ConcurrentAbove: previousPage and nextPage are added to the visual tree at the same time and animated. The nextPage is rendered above the previousPage.
  • ConcurrentBelow: previousPage and nextPage are added to the visual tree at the same time and animated. The nextPage is rendered below the previousPage.
  • Sequential: NavigatingFrom is only animated with the previousPage, then it is removed and nextPage is added to visual tree, then NavigatedTo is animated using nextPage.

Last edited Dec 16, 2014 at 6:59 PM by rsuter, version 3