Back to Devexpress

Member Table: Save and Restore Layout

windowsforms-2370-controls-and-libraries-data-grid-save-and-restore-layout-member-table-save-and-restore-layout.md

latest2.2 KB
Original Source

Member Table: Save and Restore Layout

  • Mar 25, 2025
MemberDescription
SaveLayoutToRegistrySaves a View’s layout to the system registry.
SaveLayoutToStreamSaves a View’s layout to a specific stream.
SaveLayoutToXmlSaves a View’s layout to a file in XML format.
SaveLayoutToJsonSaves a View’s layout to a file in JSON format.
RestoreLayoutFromRegistryRestores a View’s layout from the system registry.
RestoreLayoutFromStreamRestores a View’s layout from a stream.
RestoreLayoutFromXmlRestores a View’s layout from a file in XML format.
RestoreLayoutFromJsonRestores a View’s layout from a file in JSON format.
ColumnView.OptionsLayoutProvides options that control how a View’s layout is stored to/restored from a data store (a stream, xml file or system registry).
BeforeLoadLayoutOccurs before a layout is restored from a data store (a stream, xml file or system registry).
OptionsLayoutBase.LayoutVersionGets or sets the version of a layout.
LayoutUpgradeOccurs when a layout is restored from a data store (a stream, xml file or system registry) and its version differs from that of the current View’s layout.