Skip to main content

Journal.CanGoBack Property

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

Namespace: DevExpress.Xpf.WindowsUI.Navigation

Assembly: DevExpress.Xpf.Controls.v23.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