The Eight 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.


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 ...

Get Universal Windows® Apps with XAML and C# Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.