The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRDesignPanel.FileName Property

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

Namespace: DevExpress.XtraReports.UserDesigner

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


public string FileName { get; set; }
Public Property FileName As String

Property Value

Type Description

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


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 is not 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