Journal.GoHome() Method

Navigates back to the NavigationFrame's root View.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

Assembly: DevExpress.Xpf.Controls.v20.1.dll

Declaration

public void GoHome()
Public Sub GoHome

Remarks

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