GoBack Method
Collapse the table of content
Expand the table of content

NavigationService.GoBack Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Navigates to the most recent entry in the back navigation history, or throws an exception if no entry exists in back navigation.

Namespace:  System.Windows.Navigation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public void GoBack()


There are no entries in the back navigation history.

Before calling the GoBack method, check the value of the CanGoBack property to determine if an entry exists in the back navigation history.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft