Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavigationCacheMode Enum

Provides members that specify different navigation cache modes for WPF WindowsUI applications.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public enum NavigationCacheMode

#Members

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.

#Related API Members

The following properties accept/return NavigationCacheMode values:

#Remarks

The NavigationCacheMode enumerator values are passed to the NavigationFrame.NavigationCacheMode and NavigationPage.NavigationCacheMode properties as parameters.

See Also