Skip to main content

Journal.GoHome() Method

Navigates back to the NavigationFrame‘s root View.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package: DevExpress.Wpf.Controls


public void GoHome()


The GoHome method navigates back from the currently displayed View to the NavigationFrame.Source View. This method emulates an end-user pressing the Back button within a child View if the Frame’s NavigationFrame.BackNavigationMode property equals BackNavigationMode.Root.

The navigation provided by the GoHome method is considered back navigation. Thus, after the GoHome method is executed, an entry related to the previously displayed View is added to the Journal’s Journal.ForwardStack collection and you can navigate back to this View via the Journal.GoForward method.

To navigate to a previously displayed View rather than a Source View, use the Journal.GoBack method instead.

See Also