Journal.ForwardStack Property

Provides access to a collection of JournalEntry objects that store information about all previously displayed Views, which can be shown via forward navigation.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

Declaration

public IEnumerable<JournalEntry> ForwardStack { get; }
Public ReadOnly Property ForwardStack As IEnumerable(Of JournalEntry)

Property Value

Type Description
IEnumerable<JournalEntry>

An IEnumerable that stores JournalEntry objects.

Remarks

Whenever an end-user navigates back within a WindowsUI application (or the Journal.GoBack or Journal.GoHome methods are called in code), a sequence of all previously displayed Views is kept in the ForwardStack collection as JournalEntry objects.

Consecutive Journal.GoForward method calls will display all Views stored within the Journal collection one-by-one, starting from the latest entry. Each GoForward method call moves the latest ForwardStack collection JournalEntry to the Journal.BackStack collection. Finally, when the ForwardStack collection is empty, the Journal.CanGoForward property will return false and the GoForward method will have no effect. To navigate in reverse order, use the Journal.GoBack method.

To access a Journal object assigned to a specific NavigationFrame, use the NavigationFrame.Journal property.

Implements

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