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

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