O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examining the Theme Transitions

The last section discussed EntranceThemeTransition, but Windows contains eight theme transitions that can be applied to any of the Transitions or XXXTransitions properties. Let’s look at them all.

EntranceThemeTransition
Image

Instead of placing EntranceThemeTransition on a Button, the following XAML applies it to all Buttons in a StackPanel using StackPanel’s ChildrenTransitions property:

<Page ...>  <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">    <StackPanel>      <StackPanel.ChildrenTransitions>         <TransitionCollection>           <EntranceThemeTransition ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required