NavigationCacheMode NavigationCacheMode NavigationCacheMode NavigationCacheMode Enum

Definition

Specifies caching characteristics for a page involved in a navigation.

public : enum class NavigationCacheMode
enum class winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode : int32_t
public enum NavigationCacheMode
Public Enum NavigationCacheMode
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Disabled Disabled Disabled Disabled 0

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

Enabled Enabled Enabled Enabled 2

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

Required Required Required Required 1

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