NavigationCacheMode Enum

Definition

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

Disabled 0

The page is never cached and a new instance of the page is created on each visit.

Enabled 2

The page is cached, but the cached instance is discarded when the size of the cache for the frame is exceeded.

Required 1

The page is cached and the cached instance is reused for every visit regardless of the cache size for the frame.

Applies to