Docking manager Registered only
Save the layout and restore it
Users expect to find their panels where they left them. SaveLayout writes the whole arrangement as compact JSON: the splits and their sizes, the groups and their active panels, the auto hidden groups of every side, the floats with their bounds, the maximized group and the hidden panels. LoadLayout restores it on the next start. The text is the same in Delphi and .NET, so one layout file serves both. A panel that the layout names but the form does not have yet, such as a document that was open, reaches OnRestorePanel, where your code creates its content or drops it.
SaveLayout, SaveLayoutToFile and SaveLayoutToStream
LoadLayout, LoadLayoutFromFile and LoadLayoutFromStream return False on a foreign text and change nothing
OnRestorePanel for panels created at run time
- A "Window" command per panel turns the command palette into a window switcher
Registered edition on FireMonkey, VCL, WinForms, WPF and Avalonia, with C++ Builder support. Keyboard, UI Automation, right to left, themes and high DPI included.
Read the help topic