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.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.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

#Declaration

[Browsable(false)]
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 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