XRDesignForm.OpenReport(String, UserLookAndFeel) Method
Loads the report definition from the specified REPX file and opens it in the XRDesignForm with the specified look and feel settings.
Namespace: DevExpress.XtraReports.UserDesigner
Assembly: DevExpress.XtraReports.v24.2.Extensions.dll
NuGet Package: DevExpress.Win.Reporting
#Declaration
public void OpenReport(
string fileName,
UserLookAndFeel lookAndFeel
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String representing the full path to the report file (. |
look |
User |
A User |
#Remarks
The OpenReport method opens a report in the currently active XRDesignPanel of the XRDesignForm. And, if there’s not yet a Design Panel available in the form, this method initializes an instance of the XRDesignPanel class and loads a report into it.