Back to Devexpress

NavigationFrame.NavigationCacheMaxSize Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-navigationframe-e0bef184.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public int NavigationCacheMaxSize { get; set; }
vb
Public Property NavigationCacheMaxSize As Integer

Property Value

TypeDescription
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

NavigationCacheMode

Navigation

NavigationFrame Class

NavigationFrame Members

DevExpress.Xpf.WindowsUI Namespace