Example #1
0
        private void ForwardRequested(ref bool handled)
        {
            // Get a hold of the current Frame so that we can inspect the app back stack.

            if (AppFrame == null)
            {
                return;
            }

            // Check to see if this is the top-most page on the app back stack.
            if (AppFrame.CanGoForward && !handled)
            {
                // If not, set the event to handled and go back to the previous page in the app.
                handled = true;
                AppFrame.GoForward();
            }
        }