XtraReport.LoadLayoutFromXml(String) Method
SECURITY NOTE
Do not load files obtained from untrusted sources. Such files may pose a security risk. Please review the following article for additional information:
Suppress Control Requests to Download Data from External URLs
Loads a report from a file that contains an XML-serialized report.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
fileName | String | A String that is the path and name of the file that contains a serialized report. |
Remarks
TheLoadLayoutFromXml
method allows you to deserialize a report from the XML serialization data created with the following methods:
- XtraReport.SaveLayoutToXml
- The Save action in the End-User Designer. Review the following topic for more information: Save Report Layouts.
Review the following topics for more information:
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadLayoutFromXml(String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.