Skip to main content

FlipView.ItemCacheMode Property

Gets or sets whether, and if so how, the FlipView‘s items are cached. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public ItemCacheMode ItemCacheMode { get; set; }

Property Value

Type Description
DevExpress.Xpf.WindowsUI.ItemCacheMode

An DevExpress.Xpf.WindowsUI.ItemCacheMode enumeration value that specifies how items are cached. The default is None.

Remarks

Depending on the ItemCacheMode property value, the FlipView‘s items can be cached in three different modes:

  • CacheAll — all items are loaded and cached when the application starts. This mode provides the fastest navigation between items at the cost of prolonged initialization.
  • CacheOnSelecting — a page is initialized and cached only when an end-user navigates to this page for the first time.
  • None — pages are not cached. Each subsequent page activation causes this page to re-load its content. The fastest (at the start-up) and the most memory-saving mode whose disadvantage is the slowest navigation through the items.
See Also