NavigationService.GoBack Method ()

 

Navigates to the most recent entry in back navigation history, if there is one.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

member GoBack : unit -> unit

Exception Condition
InvalidOperationException

GoBack is called when there are no entries in back navigation history.

Before calling GoBack, the CanGoBack property can be inspected to determine whether there are entries in back navigation history.

The following example navigates to the most recent entry in back navigation history, if one exists.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: