Skip to main content

LayoutGroup.TabContentCacheMode Property

Gets or sets whether tab contents are cached all at once when the group is displayed, each tab content is cached when the tab is selected, or tab contents are not cached. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v22.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public TabContentCacheMode TabContentCacheMode { get; set; }

Property Value

Type Default Description
TabContentCacheMode None

A TabContentCacheMode enumeration value that specifies how tab contents are cached.

Available values:

Name Description LayoutGroup specifics
None

Tabs are not cached.

The LayoutGroup caches a tab when a user selects it. When a user switches to another tab, the tab’s cached content is kept but removed from an application’s visual tree.

CacheAllTabs

The DXTabControl caches all its tabs when the control is loaded and displayed.

The LayoutGroup caches all its tabs when the control is loaded and displayed. When a user switches to another tab, the cached content is kept in the application’s visual tree.

CacheTabsOnSelecting

The DXTabControl caches a tab when a user selects it.

The LayoutGroup caches a tab when a user selects it. When a user switches to another tab, the cached content is kept in the application’s visual tree.

See Also