Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Journal.GoHome() Method

In This Article

Navigates back to the NavigationFrame‘s root View.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public void 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