Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PageView.ItemCacheMode Property

Gets or sets how PageViewItems that belong to this PageView 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 ItemCacheMode enumerator value that specifies how PageViewItems that belong to this PageView are cached.

#Remarks

Depending on the ItemCacheMode property value, PageView pages can be cached in three different modes:

  • CacheAll - all PageView pages are being loaded and cached during application start-up. This mode provides the fastest navigation between pages 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 (default mode) - 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 PageView pages.
See Also