DockLayoutManager includes the following methods to save and restore layout settings:
You should specify the names for all DockLayoutManager items. DockLayoutManager uses these names to identify items when you save/restore a layout.
Panels may be added/removed after you save the DockLayoutManager's layout. In this case, DockLayoutManager removes panels that do not exist in the saved layout and ignores saved settings for these items. Set the following options to change this behavior:
- Set RestoreLayoutOptions.RemoveOldPanels to
false
to recreate panels that exist in the saved layout. - Set RestoreLayoutOptions.AddNewPanels to
true
to maintain panels that do not exist in the saved layout.
The DockLayoutManager's methods save settings only of its groups and panels.
- WPF Dock Layout Manager - Save and Restore Settings of All Controls That Are Present in the UI
- WPF Dock Layout Manager - Serialize Custom Panels and Their Properties
(you will be redirected to DevExpress.com to submit your response)