Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRDesignPanel.SaveReport(String) Method

Saves the definition of the report currently open in the XRDesignPanel to the specified file.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

#Declaration

public void SaveReport(
    string fileName
)

#Parameters

Name Type Description
fileName String

A String value specifying the file name.

#Remarks

This method saves a report’s definition to an REPX file in the same way as the XtraReport.SaveLayout method does.

Note that the SaveReport method is useful to save a file silently (without any prompt to a user). And, if the fileName parameter is set to an invalid path, this method invokes the XRDesignPanel.SaveReportAs method.

To learn more, refer to Storing Report Layouts.

See Also