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
#Property Value
Type | Description |
---|---|
Int32 | An Int32 value that specifies the maximum cache size for the current Navigation |
#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.