Journal.BackStack Property
Provides access to a collection of JournalEntry objects that store information about all previously displayed application screens (Views), which can be shown via backward navigation.
Namespace: DevExpress.Xpf.WindowsUI.Navigation
Assembly: DevExpress.Xpf.Controls.v24.2.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
IEnumerable<JournalEntry> | An IEnumerable that stores JournalEntry objects. |
Remarks
Each time an end-user navigates forward to a View within a WindowsUI application, the previous View is written to a JournalEntry object and placed to the BackStack collection. This allows you to call the Journal.GoBack method and sequentially navigate back to previously displayed Views.
If the BackStack collection contains more than 1 entry (its first entry always corresponds to the NavigationFrame.Source View), the Journal.CanGoBack property returns true.
Calling the Journal.GoBack and Journal.GoHome methods decrements the BackStack collection and increments the Journal.ForwardStack collection respectively.