The 14 Theme Animations

The XAML UI Framework includes 14 theme animations. We’re not going to examine each of these with the same depth as the theme transitions, but here they are:

FadeOutThemeAnimation—Animate an element’s Opacity to 0.

FadeInThemeAnimation—Animate an element’s Opacity back to 1. The default styles of many controls use the pair of FadeOutThemeAnimation and FadeInThemeAnimation, such as ScrollBar. This has no effect if FadeOutThemeAnimation or a similar custom animation didn’t previously act upon the element.

PopInThemeAnimation—Makes the element glide in slightly from the right. (Oddly, this matches the motion of EntranceThemeTransition rather than PopupThemeTransition.) You can customize the motion with its FromHorizontalOffset ...

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.