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.v23.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