コード例 #1
0
 public AboutPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
コード例 #2
0
        public SubSectionPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            Window.Current.SizeChanged += Current_SizeChanged;
        }
コード例 #3
0
        public FavoritesPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            initial_Orientation();
            Window.Current.SizeChanged += Current_SizeChanged;
        }
コード例 #4
0
        public SubSectionPage()
        {
            this.InitializeComponent();

            // disable navigation animation
            Frame mainFrame = Window.Current.Content as Frame;
            mainFrame.ContentTransitions = null;

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;

            Window.Current.SizeChanged += Current_SizeChanged;
        }