Skip to main content

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.v22.1.dll

NuGet Package: DevExpress.Wpf.Controls


public int NavigationCacheMaxSize { get; set; }

Property Value

Type Description

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


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