Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

Declaration

public IEnumerable<JournalEntry> ForwardStack { get; }

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.

See Also