public void BackRequested(ref bool handled) { if (_pageFrame == null) { return; } if (!_pageFrame.CanGoBack || handled) { return; } handled = true; NavService.NavigateBack(); }