Gets or sets whether to the destroy tab item content when switching between tabs. This is a dependency property.
Namespace:DevExpress.Xpf.Core
Assembly:DevExpress.Xpf.Core.v17.2.dll
Note: This API is now obsolete.
Use the TabContentCacheMode property.

Syntax
C# |
public bool DestroyContentOnTabSwitching { get; set; }
|
VB |
Public Property DestroyContentOnTabSwitching As Boolean
|
Property value
Type: Boolean
true, to destroy the tab item content when switching between tabs; otherwise, false.

Remarks
If the DestroyContentOnTabSwitching property is set to true (the default behavior), tab item content is destroyed after switching to another item, and created again when the item is selected. This reduces the amount of memory consumed by the application.
To achieve faster performance, set the DestroyContentOnTabSwitching property to false. In this instance, tab item content is created only once, and stored until the whole item is destroyed.
The DestroyContentOnTabSwitching property affects the tabs cache mode specified via the TabContentCacheMode property. See this link to learn more.

See Also