Interface INavigatorBuilder
Represents a navigator builder that can be used to configure a navigator.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public interface INavigatorBuilder
Fields
| Name | Description |
|---|---|
| DefaultMaxBackStackCachedDepth | The default value of MaxBackStackCachedDepth. |
| DefaultMaxForwardStackCachedDepth | The default value of MaxForwardStackCachedDepth. |
| DefaultNavigationStacksSize | The default value of MaxNavigationStacksSize. |
Properties
| Name | Description |
|---|---|
| MaxBackStackCachedDepth | Gets the maximum depth of cached views and view models in the back navigation stack. Views and view models that are deeper than this are disposed and will be recreated if navigated to again. Defaults to DefaultMaxBackStackCachedDepth. |
| MaxForwardStackCachedDepth | Gets the maximum depth of cached views and view models in the forward navigation stack. Views and view models that are deeper than this will be recreated if navigated to again. Defaults to DefaultMaxForwardStackCachedDepth. |
| MaxNavigationStacksSize | Gets the maximum number of entries in the forward and back navigation stack. Defaults to DefaultNavigationStacksSize. |
| Services | Gets or sets the service provider that will be used to resolve root services for view models. Defaults to an empty service provider. |
Methods
| Name | Description |
|---|---|
| AddRouteTo(RoutePart) | Adds a route to the specified route part. Parent parts must be added before child parts. |
| ConfigureNavigationStacks(int, int, int) | Configures navigation stack options. |