Table of Contents

Class RouterNavigationOptions

Namespace
Artemis.UI.Shared.Routing
Assembly
Artemis.UI.Shared.dll

Represents navigation options used to control navigation behaviour.

public class RouterNavigationOptions
Inheritance
object
RouterNavigationOptions

Properties

AddToHistory

Gets or sets a boolean indicating whether or not to add the navigation to the history.

public bool AddToHistory { get; set; }

Property Value

bool

AdditionalArguments

Gets or sets any additional arguments to pass to the screen.

public object? AdditionalArguments { get; set; }

Property Value

object

EnableLogging

Gets or sets a boolean value indicating whether logging should be enabled. Errors and warnings are always logged.

public bool EnableLogging { get; set; }

Property Value

bool

IgnoreOnPartialMatch

Gets or sets a boolean indicating whether route changes should be ignored if they are a partial match.

public bool IgnoreOnPartialMatch { get; set; }

Property Value

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.

public string? PartialMatchOverride { get; set; }

Property Value

string

RecycleScreens

Gets or sets a boolean indicating whether or not to recycle already active screens.

public bool RecycleScreens { get; set; }

Property Value

bool