DockLayoutManager.SaveLayoutToXml(String) Method
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Saves the layout of dock panes to an XML file.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v25.2.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| path | String | An XML file to which the layout is stored. |
Remarks
The saved layout can be restored using the DockLayoutManager.RestoreLayoutFromXml method.
See Saving and Restoring the Layout of Dock Panels and Controls to learn more.
See Also