Skip to main content

LayoutSerializationOptions.RestoreLayoutItemSpacing Property

SECURITY NOTE

Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.

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

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool RestoreLayoutItemSpacing { get; set; }

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
LayoutControl
.OptionsSerialization .RestoreLayoutItemSpacing

Remarks

See the LayoutSerializationOptions.StoreSpaceOptions property for more information.

See Also