Back to Devexpress

LayoutControl.OptionsSerialization Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-4a2a9315.md

latest3.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Options")]
public LayoutSerializationOptions OptionsSerialization { get; }
vb
<DXCategory("Options")>
Public ReadOnly Property OptionsSerialization As LayoutSerializationOptions

Property Value

TypeDescription
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

Save and Restore Layout

SaveLayoutToRegistry(String)

SaveLayoutToStream(Stream)

SaveLayoutToXml(String)

RestoreLayoutFromRegistry(String)

RestoreLayoutFromStream(Stream)

RestoreLayoutFromXml(String)

Save and Restore Layouts of DevExpress controls

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace