LayoutSerializationOptions.RestoreDockPanelsText Property

Gets or sets whether captions of dock panels are restored from the data store when a layout is restored from the store.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll


public virtual bool RestoreDockPanelsText { get; set; }

Property Value

Type Default Description


true to restore the captions of dock panels when a layout is restored; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to RestoreDockPanelsText
WinForms Controls SnapDockManager
Reporting XRDesignDockManager


A dock panel’s captions are specified by the DockPanel.Text and DockPanel.TabText properties. When a layout of dock panels is saved to a data store, the captions of panels are saved as well. When a layout is restored from a data store, captions of panels are restored by default. To prevent captions from being restored and keep the current captions, set the RestoreDockPanelsText property to false.

See Also