Skip to main content

XRDesignFormExBase.FileName Property

Gets or sets the path (including the file name) where the report currently being edited in the End-User Designer will be saved. A report definition is usually saved to a REPX file.

Namespace: DevExpress.XtraReports.UserDesigner

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

NuGet Package: DevExpress.Win.Reporting

Declaration

public string FileName { get; set; }

Property Value

Type Description
String

A String representing the path (including the filename) to a REPX file.

Remarks

The FileName property value is used when a report definition is saved to a REPX file via the XtraReport.SaveLayout method. To invoke the SaveFile dialog manually, call the XRDesignPanel.CreateSaveFileDialog method.

If the path isn’t specified (the property reflects the file name only), the SaveFile dialog will reflect the default path. Note that the REPX extension is automatically added to the FileName property value.

The path specified via the FileName property also determines the default directory which is shown in the OpenFile dialog.

See Also