Journal.CanGoBack Property

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

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

Declaration

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

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.

Implements

DevExpress.Xpf.WindowsUI.Navigation.IJournal.CanGoBack
See Also