Skip to main content

LayoutSerializationOptions.RestoreLayoutItemEnabled 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’ state settings (LayoutControlItem.Enabled) are restored when restoring the control’s layout from a data store.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool RestoreLayoutItemEnabled { 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 RestoreLayoutItemEnabled
LayoutControl
.OptionsSerialization .RestoreLayoutItemEnabled

Remarks

See the LayoutSerializationOptions.StoreEnabledState property for more information.

See Also