Class RouterNavigationOptions
Represents navigation options used to control navigation behaviour.
Namespace: Artemis.UI.Shared.Routing
Assembly: Artemis.UI.Shared.dll
Syntax
public class RouterNavigationOptions
Constructors
RouterNavigationOptions()
Declaration
public RouterNavigationOptions()
Properties
AddToHistory
Gets or sets a boolean indicating whether or not to add the navigation to the history.
Declaration
public bool AddToHistory { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableLogging
Gets or sets a boolean value indicating whether logging should be enabled.
Declaration
public bool EnableLogging { get; set; }
Property Value
Type | Description |
---|---|
bool |
IgnoreOnPartialMatch
Gets or sets a boolean indicating whether route changes should be ignored if they are a partial match.
Declaration
public bool IgnoreOnPartialMatch { get; set; }
Property Value
Type | Description |
---|---|
bool |
Examples
If set to true, a route change from page/subpage1/subpage2
to page/subpage1
will be ignored.
PartialMatchOverride
Gets or sets the path to use when determining whether the path is a partial match, only has any effect if IgnoreOnPartialMatch is true.
Declaration
public string? PartialMatchOverride { get; set; }
Property Value
Type | Description |
---|---|
string |
RecycleScreens
Gets or sets a boolean indicating whether or not to recycle already active screens.
Declaration
public bool RecycleScreens { get; set; }
Property Value
Type | Description |
---|---|
bool |