Class RegionNavigationJournal
Provides journaling of current, back, and forward navigation within regions.
Implements
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class RegionNavigationJournal : IRegionNavigationJournal
Properties
View SourceCanGoBack
Gets a value that indicates whether there is at least one entry in the back navigation history.
Declaration
public bool CanGoBack { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
CanGoForward
Gets a value that indicates whether there is at least one entry in the forward navigation history.
Declaration
public bool CanGoForward { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
CurrentEntry
Gets the current navigation entry of the content that is currently displayed.
Declaration
public IRegionNavigationJournalEntry CurrentEntry { get; }
Property Value
| Type | Description |
|---|---|
| IRegionNavigationJournalEntry | The current entry. |
NavigationTarget
Gets or sets the target that implements INavigate.
Declaration
public INavigate NavigationTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| INavigate | The INavigate implementation. |
Remarks
This is set by the owner of this journal.
Methods
View SourceClear()
Clears the journal of current, back, and forward navigation histories.
Declaration
public void Clear()
GoBack()
Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
Declaration
public void GoBack()
GoForward()
Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
Declaration
public void GoForward()
RecordNavigation(IRegionNavigationJournalEntry)
Records the navigation to the entry..
Declaration
public void RecordNavigation(IRegionNavigationJournalEntry entry)
Parameters
| Type | Name | Description |
|---|---|---|
| IRegionNavigationJournalEntry | entry | The entry to record. |