Skip to main content
A newer version of this page is available. .
All docs
V21.2

Performance Enhancements

This topic contains recommendations that help you improve Tab Control performance.

Cache Tabs

Set the TabContentCacheMode to CacheAllTabs, to load and cache all the DXTabControl‘s tabs simultaneously after the DXTabControl is shown. This can significantly speed up navigation between tabs, but will consume more memory.

<dx:DXTabControl TabContentCacheMode="CacheAllTabs">
    <dx:DXTabItem Header="Font Settings">
        <local:FontSettingsView />
    </dx:DXTabItem>
    <dx:DXTabItem Header="Alignment">
        <local:AlignmentView />
    </dx:DXTabItem>
</dx:DXTabControl>

Set the TabContentCacheMode property to CacheTabsOnSelecting to only cache a tab after it was selected. This mode is a compromise between performance and memory consumption.

Specify the TabContentCacheMode property value before the DXTabControl is loaded. Changing the TabContentCacheMode property value at runtime has no effect.

Optimize Content

The DXTabControl performance is tied to the performance of its content. For applications that use the DXTabControl, it is beneficial to preload theme resources. You can use a splash screen or progress indicators to improve an app’s user experience.

Refer to the following topic for general and control-specific recommendations on how to improve performance: Performance Enhancements.