NavigationService.CanGoBack Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether there is at least one entry in the back navigation history.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property Value
Type: System.Booleantrue if there is at least one entry in the back navigation history; otherwise, false.
The GoBack method throws an InvalidOperationException exception if there are no entries in the back navigation history. To determine whether there is at least one entry in the back navigation history, check the value of the CanGoBack property.
Show: