Skip to main content

NavigationFrame.NavigationCacheMode Property

Gets or sets the cache mode for the NavigationFrame‘s content. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v22.1.dll

NuGet Package: DevExpress.Wpf.Controls


public NavigationCacheMode NavigationCacheMode { get; set; }

Property Value

Type Description

A NavigationCacheMode enumerator value specifying the cache mode for the NavigationFrame‘s content. The default is NavigationCacheMode.Disabled.

Available values:

Name Description

Content caching disabled. A new instance of a View (screen) is created on each display.


The content is cached until the frame’s cache size is exceeded (see the NavigationFrame.NavigationCacheMaxSize property).


The content is always cached and its cached instance is reused for each display. The frame’s cache size is ignored.


Depending on the NavigationCacheMode property value, a NavigationFrame can cache Views to which it navigates in multiple modes - cache always, cache until the cache size exceeds the defined value, or do not cache at all. NavigationPages provide the attached NavigationPage.NavigationCacheMode property that overrides the NavigationCacheMode method for specific elements.

See Also