Back to Devexpress

Journal.CanGoBack Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-navigation-dot-journal-2343eae5.md

latest3.0 KB
Original Source

Journal.CanGoBack Property

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

Declaration

csharp
public bool CanGoBack { get; }
vb
Public ReadOnly Property CanGoBack As Boolean

Property Value

TypeDescription
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

Source

GoBack

GoForward(Object)

CanGoForward

ForwardStack

BackNavigationMode

Navigation

Journal Class

Journal Members

DevExpress.Xpf.WindowsUI.Navigation Namespace