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.

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

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.