Skip to main content

XRDesignPanel.CreateSaveFileDialog(XtraReport, String, String) Method

Creates the SaveFile dialog window to save the current report’s configuration to a REPX file.

Namespace: DevExpress.XtraReports.UserDesigner

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

NuGet Package: DevExpress.Win.Reporting

Declaration

public static SaveFileDialog CreateSaveFileDialog(
    XtraReport report,
    string defaultDirectory,
    string fileName
)

Parameters

Name Type Description
report XtraReport

An XtraReport object to be saved to a REPX file.

defaultDirectory String

A String, specifying the path to the directory that is opened by default.

fileName String

A String, specifying the file name.

Returns

Type Description
SaveFileDialog

A SaveFileDialog object.

Remarks

To save a report silently (without showing the dialog), use the XtraReport.SaveLayout method. To load a report definition from a REPX file use the XtraReport.LoadLayout method.

To learn more, refer to Storing Report Layouts.

See Also