Back to Devexpress

Member Table: Save and Restore Layout

windowsforms-404569-controls-and-libraries-tree-list-member-tables-member-table-save-and-restore-layout.md

latest1.9 KB
Original Source

Member Table: Save and Restore Layout

  • Mar 25, 2025
MemberDescription
SaveLayoutToRegistrySaves the TreeList’s layout to the system registry.
SaveLayoutToStreamSaves the TreeList’s layout to a stream.
SaveLayoutToXmlSaves the TreeList’s layout to a file in XML format.
SaveLayoutToJsonSaves the TreeList’s layout to a file in JSON format.
RestoreLayoutFromRegistryRestores the TreeList’s layout from the system registry.
RestoreLayoutFromStreamRestores the TreeList’s layout from a stream.
RestoreLayoutFromXmlRestores the TreeList’s layout from a file in XML format.
SaveLayoutToJsonSaves the TreeList’s layout to a file in JSON format.
OptionsLayoutGets the TreeList’s layout settings.
BeforeLoadLayoutOccurs before a layout is restored from a data store (a stream, xml file or system registry).
OptionsLayout.LayoutVersionGets or sets layout version.
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 layout.