wpf-devexpress-dot-xpf-dot-windowsui-dot-navigationframe-f5493bdc.md
Gets or sets the cache mode for NavigationFrame content. This is a dependency property.
Namespace : DevExpress.Xpf.WindowsUI
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
public NavigationCacheMode NavigationCacheMode { get; set; }
Public Property NavigationCacheMode As NavigationCacheMode
| Type | Default | Description |
|---|---|---|
| NavigationCacheMode | Disabled |
The cache mode for NavigationFrame content.
|
Available values:
| Name | Description |
|---|---|
| Disabled |
Content caching disabled. A new instance of a View (screen) is created on each display.
| | Enabled |
The content is cached until the frame’s cache size is exceeded (see the NavigationFrame.NavigationCacheMaxSize property).
| | Required |
The content is always cached and its cached instance is reused for each display. The frame’s cache size is ignored.
|
The NavigationFrame allows you to cache displayed Views. The NavigationCacheMode property specifies how to cache Views:
Call the ClearCache() method to clear the cache.
The NavigationPage contains the attached NavigationPage.NavigationCacheMode property that overrides the NavigationCacheMode property for this page.
See Also