示例#1
0
        /// <summary>
        /// Navigates the application to specified page
        /// </summary>
        /// <param name="page">The page to go to</param>
        public void GoToPage(ApplicationPage page)
        {
            // Change current page to specified one
            CurrentPage = page;

            App.Current.MainPage = page.ToApplicationPage();
        }