Animating content transitions (Windows Store apps using JavaScript and HTML)

Language: JavaScript and HTML | VB/C#/C++ and XAML
1 out of 1 rated this helpful - Rate this topic

Use content transition animations to change the content of an area of the screen while keeping the container or background constant. New content coming onto the screen slides in from an offset as it fades in. If there is existing content to be replaced, the old content is faded out as the new content is coming in. You will typically use this in the case of split-screen navigation, where the user is shown a list and a detailed view. Content transition animations also bring content into view that loads after the rest of a page, when the app transitions between pages.

This set of animations consists of the following APIs:

The following video demonstrates the animations that remove existing content and then bring new content into view:

|

Note that the original content and the replacement content don't need to have the same layout or size.

To use the content transition APIs, you'll need to know:

  • The outgoing objects
  • The incoming objects
  • The distance and direction that incoming content will slide as it enters.
    • The recommended distance is 40 pixels.

Other resources

See the Using the Animation Library animations sample for code examples that demonstrate the use of the content transition animation APIs.

See Guidelines and checklist for content transition animations for design best practices in the use of these animations.

Related topics

Animating your UI
Animating page transitions
enterContent
exitContent

 

 

Build date: 3/5/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.