---
title: "Windows Phone 7 and Back button Guidelines"  
description: "Windows Phone 7 and Back button Guidelines"  
author: "Samuel Fernandes"  
published: 2015-04-07  
updated: 2015-04-07  
canonical: https://www.mindstick.com/forum/23086/windows-phone-7-and-back-button-guidelines  
category: ".net"  
tags: ["windows phone"]  
reading_time: 2 minutes  

---

# Windows Phone 7 and Back button Guidelines

I'm [reading](https://www.mindstick.com/articles/126273/books-commonly-found-on-college-reading-lists) the following sumission [requirement](https://yourviews.mindstick.com/view/85169/becoming-an-influencer-requirement-of-skills-and-knowledge):\
To maintain a consistent [user experience](https://www.mindstick.com/articles/12731/the-importance-of-feedback-to-the-user-experience), the Back button must only be used for backwards [navigation](https://www.mindstick.com/blog/62/different-navigation-in-asp-dot-net) in the [application](https://www.mindstick.com/articles/12824/calculator-application-in-android).\
a. Pressing the Back button from the first screen of an application must exit the application.b. Pressing the Back button must return the application to the [previous](https://yourviews.mindstick.com/view/81421/unlock-2-0-is-just-like-previous-corona-lockdowns) page.c. If the current page displays a context menu or a dialog, the pressing of the Back button must close the menu or dialog and cancel the backward navigation to the previous page.d. For games, when the Back button is pressed during gameplay, the game can choose to present a pause context menu or dialog or navigate the user to the prior menu screen. Pressing the Back button again while in a paused context menu or dialog closes the menu or dialog.\
My application require LogIn the first time, before entering its MainPage.The login data will not be asked again (the user can change account from the [settings](https://www.mindstick.com/blog/63563/steps-to-change-the-wireless-settings-using-linksys-cloud-account)).\
I would like to avoid user entering again in the login page by using the backstack.Pressing back from MainPage will exit the application.\
In particular I'm worried about:a. I show as a first screen the login page which will navigate to the mainpage, but I'm exiting the app with a back from the mainpageb. I'm skipping a page, so pressing back is not strictly going to the previouspage\
Do you think it will satisfy the [certification](https://www.mindstick.com/articles/13065/an-investment-in-certification-software-gives-peace) [requirements](https://www.mindstick.com/articles/12850/drivers-license-requirements) ?

## Replies

### Reply by Anonymous User

This scenario is allowed, what you should do is:

upon entering the MainPage (OnNavigatedTo) - remove one page from the back stack:

```
NavigationService.RemoveBackEntry();
```


---

Original Source: https://www.mindstick.com/forum/23086/windows-phone-7-and-back-button-guidelines

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
