wpf-devexpress-dot-xpf-dot-windowsui-dot-navigation-dot-journal-2343eae5.md
Gets whether a NavigationFrame related to the current Journal can navigate back.
Namespace : DevExpress.Xpf.WindowsUI.Navigation
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
public bool CanGoBack { get; }
Public ReadOnly Property CanGoBack As Boolean
| Type | Description |
|---|---|
| Boolean |
true, if a NavigationFrame related to the current Journal can navigate back; otherwise, false.
|
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