LayoutSerializationOptions.RestoreLayoutItemSpacing Property

Gets or sets whether layout items' spacing settings (BaseLayoutItem.Spacing) are restored when restoring the control's layout from a data store.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

[Browsable(false)]
[DefaultValue(false)]
public virtual bool RestoreLayoutItemSpacing { get; set; }
<Browsable(False)>
<DefaultValue(False)>
Public Overridable Property RestoreLayoutItemSpacing As Boolean

Property Value

Type Default Description
Boolean

false

true to restore the corresponding settings; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to RestoreLayoutItemSpacing
DataLayoutControl
.OptionsSerialization.RestoreLayoutItemSpacing
LayoutControl
.OptionsSerialization.RestoreLayoutItemSpacing

Remarks

See the LayoutSerializationOptions.StoreSpaceOptions property for more information.

See Also