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
Instead of placing EntranceThemeTransition
on a Button
, the following XAML applies it to all Button
s in a StackPanel
using StackPanel
’s ChildrenTransitions
property:
<Page ...> <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <StackPanel> <StackPanel.ChildrenTransitions> <TransitionCollection> <EntranceThemeTransition ...
Get XAML 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.