/// <summary> /// Navigate back a page. /// </summary> private void PageGoBack() { if (FrameMP.CanGoBack) { FrameMP.GoBack(); } }
/// <summary> /// Navigate back a page. If large rectangle in page ShowBars is visible, then collapse large rectangle instead of going back to previous page. /// </summary> private void PageGoBack() { if (FrameMP.CanGoBack) { if (boolShowBarsLargeRect) // True if large rectangle in page ShowBars is visible, false otherwise. { showBars.LargeRectCollapse(); // Collapse large rectangle instead of going back to previous page. } else // Go back to previous page. { FrameMP.GoBack(); } } }