コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }