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.CanGoBack Property

Gets whether a NavigationFrame related to the current Journal can navigate back.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public bool CanGoBack { get; }

#Property Value

Type Description
Boolean

true, if a NavigationFrame related to the current Journal can navigate back; otherwise, false.

#Remarks

A Frame’s Journal stores all previously displayed Views in its Journal.BackStack and Journal.ForwardStack collections as JournalEntry objects. If the Journal.BackStack collection stores more than 1 entry, the CanGoBack property equals true and calling the Journal.GoBack or Journal.GoHome method will have an effect.

Note

The very first entry in the Journal.BackStack collection is a NavigationFrame‘s source View (see the NavigationFrame.Source property), from which you cannot navigate back.

See Also