Skip to main content

Journal.GoBack() Method

Navigates back to the previously displayed application screen (View).

Namespace: DevExpress.Xpf.WindowsUI.Navigation

Assembly: DevExpress.Xpf.Controls.v22.2.dll

NuGet Package: DevExpress.Wpf.Controls


public void GoBack()


The GoBack method takes effect if only the Journal.CanGoBack property returns true. In turn, the Journal.CanGoBack property returns true if there is more than 1 entry in the Journal’s Journal.BackStack collection.


The very first entry in the Journal.BackStack collection contains information about the initial navigation to the Frame’s source View (see the NavigationFrame.Source property) that cannot be undone via the GoBack method.

Whenever the GoBack method is performed, the Journal.ForwardStack collection adds a JournalEntry containing the previously displayed View. You can navigate to it via the Journal.GoForward method.

The GoBack method is similar to the NavigationFrame.GoBack method. However, the Frame’s NavigationFrame.GoBack method behaves dependent on the NavigationFrame.BackNavigationMode property and can navigate to either the previous View or to the root View. The GoBack property always navigates to the previous View. To navigate to the root View, use the Journal.GoHome method instead.

See Also