.NET Framework (current version)
Gets a value that indicates whether there is a document to navigate back to.
PresentationFramework (in PresentationFramework.dll)
member CanGoBack : bool with get
A Boolean value that indicates whether there is a document to navigate back to.
The following example shows how to navigate back to the previous document by calling GoBack. The example first checks that there are documents to navigate back to by checking CanGoBack.
private void backButton_Click(object sender, RoutedEventArgs e)
// Navigate to the previous HTML document, if there is one
Return to top
Available since 3.0