Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public IEnumerable<JournalEntry> BackStack { get; }

#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.

See Also