Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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