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.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TabContentCacheMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.