LayoutSerializationOptions.RestoreLayoutItemText Property
Gets or sets whether layout items’ captions are restored when restoring the control’s layout from a data store.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true if layout items’ captions are restored when restoring the control’s layout from a data store; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to RestoreLayoutItemText |
---|---|
DataLayoutControl |
|
LayoutControl |
|
Remarks
By default, the RestoreLayoutItemText property is set to true. In this instance, loading a layout from a data store (an XML file, stream or the system registry) loads layout items’ captions from the data store and applies them to the existing layout items. When creating localizable applications that support multiple cultures, this functionality should be disabled. To prevent layout items’ captions from being restored, set the RestoreLayoutItemText property to false.