NavigationCacheMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies caching characteristics for a page involved in a navigation.
public enum class NavigationCacheMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class NavigationCacheMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum NavigationCacheMode
Public Enum NavigationCacheMode
- Inheritance
-
NavigationCacheMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Disabled | 0 | The page is never cached and a new instance of the page is created on each visit. |
Required | 1 | The page is cached and the cached instance is reused for every visit regardless of the cache size for the frame. |
Enabled | 2 | The page is cached, but the cached instance is discarded when the size of the cache for the frame is exceeded. |