Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(true)]
public virtual bool RestoreDockPanelsText { get; set; }

Property Value

Type Default Description
Boolean true

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:

Object Type Path to RestoreDockPanelsText
DockManager
.SerializationOptions .RestoreDockPanelsText

Remarks

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