Back to Devexpress

LayoutSerializationOptions Class

windowsforms-devexpress-dot-xtralayout-f2e8ee39.md

latest3.7 KB
Original Source

LayoutSerializationOptions Class

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
public class LayoutSerializationOptions :
    BaseOptions
vb
Public Class LayoutSerializationOptions
    Inherits BaseOptions

The following members return LayoutSerializationOptions objects:

Remarks

The following properties 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.

Inheritance

Object ViewStatePersisterCore BaseOptions LayoutSerializationOptions

See Also

LayoutSerializationOptions Members

Save and Restore Layout

SaveLayoutToRegistry(String)

SaveLayoutToStream(Stream)

SaveLayoutToXml(String)

RestoreLayoutFromRegistry(String)

RestoreLayoutFromStream(Stream)

RestoreLayoutFromXml(String)

Save and Restore Layouts of DevExpress controls

DevExpress.XtraLayout Namespace