private void BackRequested(ref bool handled) { if (AppFrame?.CanGoBack ?? false && !handled) { handled = true; AppFrame.GoBack(); } }