Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6255977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:27:56+00:00 2026-05-24T14:27:56+00:00

I have spent a bit of time rummaging through Stack Overflow to find out

  • 0

I have spent a bit of time rummaging through Stack Overflow to find out how to deterministically close an application based on an action. Most if not all answers say you can’t or shouldn’t do it. If this is so I would like to phrase my question differently and see how people are handling two issues I am having trouble with.

Just to let you guys know I am using Caliburn.Micro for this project.

Ok so the flow of my app can be broken down into two parts, the initial flow and the standard flow, these are as follows

Splash -> Welcome -> CreateAccount -> MainHub (all other functionality branches from here)

Splash -> MainHub (all other functionality branches from here)

Based on this flow, the feedback from my better (beta) testers is that they expect to exit the app on pressing the back button on the hub, which they see as the entry point. Currently as per navigation they go all the way back to the splash.

I see other apps have this functionality, but without forcing the application to close (Which I read is a no no) how are they achieving this desired functionality.

NOTE: I do not want to put in an exit button as I believe it goes against the natural flow of a WP7 application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T14:27:56+00:00Added an answer on May 24, 2026 at 2:27 pm

    First of all, you cannot add a exit button. The only way to exit a application is to crash it, which will not be approved for marketplace certification.

    As for your problem, you simply have to remove views from the navigation stack upon completion of a known navigation.

    For this, use NavigationService.RemoveBackEntry.

    You can access the NavigationService from anywhere, using this snippet:

    (App.Current.RootVisual as PhoneApplicationFrame).RemoveBackEntry()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have spent some months working on a web application and we're come close
I have spent lot of time doing research on VIM. I am Windows guy
I have spent several hours trying to find a means of writing a cross
I have spent too much time on this problem and am beginning to think
I've spent a bit of time researching this on here and the mysql site
I spent quite a bit of time modifying my Java code style settings to
I've spent some time, but still have to solution. I need regular expression that
I have spent some time trying to create a child window of an existing
I've spent quite a bit of time on this but seem to be going
A colleague and I have spent a few years developing a really cool Matlab

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.