public AdventurePage() { TransitionCollection collection = new TransitionCollection(); NavigationThemeTransition theme = new NavigationThemeTransition(); var info = new Windows.UI.Xaml.Media.Animation.SlideNavigationTransitionInfo(); theme.DefaultNavigationTransitionInfo = info; collection.Add(theme); this.Transitions = collection; this.InitializeComponent(); }
public SlideshowPage() { TransitionCollection collection = new TransitionCollection(); NavigationThemeTransition theme = new NavigationThemeTransition(); var info = new Windows.UI.Xaml.Media.Animation.SlideNavigationTransitionInfo(); theme.DefaultNavigationTransitionInfo = info; collection.Add(theme); this.Transitions = collection; this.SizeChanged += (s, e) => UpdateSize(); this.InitializeComponent(); }