DXTabControl.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 tab items to an XML file.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v25.2.dll
NuGet Package: DevExpress.Wpf.Core
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 DXTabControl.RestoreLayoutFromXml method.
The DXTabControl supports serialization/deserialization in unbound mode only, and this functionality is disabled by default. To enable it, it is necessary to explicitly set the dx:DXSerializer.Enabled attached property to true for your DXTabControl.
<dx:DXTabControl dx:DXSerializer.Enabled="True">
...
</dx:DXTabControl>