Method ConfigureNavigationStacks
ConfigureNavigationStacks(int, int, int)
Configures navigation stack options.
Declaration
void ConfigureNavigationStacks(int maxSize = 20, int maxBackCachedDepth = 5, int maxForwardCachedDepth = 5)
Parameters
| Type | Name | Description |
|---|---|---|
| int | maxSize | The maximum depth of the forward and back navigation stack. Must be non-negative. Defaults to DefaultNavigationStacksSize. |
| int | maxBackCachedDepth | The maximum depth of cached views in the back navigation stack. Views that are deeper than this become eligible for
garbage collection and will be recreated if navigated to again. Must be non-negative and value is clamped to the value of |
| int | maxForwardCachedDepth | The maximum depth of cached views in the forward navigation stack. Views that are deeper than this become
eligible for garbage collection and will be recreated if navigated to again. Must be non-negative and value is clamped to the value of |