Skip to main content
A newer version of this page is available. .

LayoutControl.OptionsSerialization Property

Contains options that specify how the LayoutControl’s layout is saved to and restored from a data store (an XML file, a stream or the system registry).

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Options")]
public LayoutSerializationOptions OptionsSerialization { get; }

Property Value

Type Description
LayoutSerializationOptions

A LayoutSerializationOptions object.

Remarks

The OptionsSerialization object contains the following properties that specify how the LayoutControl’s layout is saved to and restored from a data store (an XML file, a stream or the system registry).

  • StoreAppearance - Gets or sets whether the control’s appearance settings are stored (restored) when the layout is saved to (loaded from) storage.
  • StoreEnabledState - Gets or sets whether “enabled” states of layout items are stored (restored) when the layout is saved to (loaded from) storage.
  • StorePrintOptions - Gets or sets whether print settings are stored (restored) when the layout is saved to (loaded from) storage.
  • StoreSpaceOptions - Gets or sets whether padding, margin, and distance settings are stored (restored) when the layout is saved to (loaded from) storage.
  • StoreText - Gets or sets whether captions of layout items and groups are stored (restored) when the layout is saved to (loaded from) storage.
See Also