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

NavigationFrame.NavigationCacheMaxSize Property

Gets or sets the maximum cache size for the current NavigationFrame. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public int NavigationCacheMaxSize { get; set; }

#Property Value

Type Description
Int32

An Int32 value that specifies the maximum cache size for the current NavigationFrame.

#Remarks

The NavigationCacheMaxSize value is considered if the frame’s NavigationFrame.NavigationCacheMode property equals NavigationCacheMode.Enabled. In this mode, the frame stores cached instances of its Views until the maximum cache size is exceeded. If the NavigationFrame.NavigationCacheMode property equals NavigationCacheMode.Required, the NavigationCacheMaxSize property is ignored and Views’ cached instances are stored regardless of the frame’s cache size.

See Also