Skip to main content

LayoutSerializationOptions.RestoreLayoutItemPadding 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’ padding settings (BaseLayoutItem.Padding) 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 RestoreLayoutItemPadding { 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 RestoreLayoutItemPadding
LayoutControl
.OptionsSerialization .RestoreLayoutItemPadding

Remarks

See the LayoutSerializationOptions.StoreSpaceOptions property for more information.

See Also