Skip to main content

ReportDesigner.SaveLayout(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 End-User Report Designer‘s layout to a file.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v25.2.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public void SaveLayout(
    string path
)

Parameters

Name Type Description
path String

A string that contains the full path specifying where the Report Designer’s layout should be saved.

Remarks

The SaveLayout method saves the Report Designer’s layout (layout of dock panels, toolbar layout, etc.) to the specified file. The saved layout can be then restored using the ReportDesigner.RestoreLayout method.

You can also can save the layout to a stream using another overload of the SaveLayout method.

See Also