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

XRDesignFormExBase.OpenReport(String, UserLookAndFeel) Method

Loads a report definition from the specified REPX file, opens it into the form’s active Design Panel, and applies the specified look-and-feel settings to the current End-User Designer form.

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
fileName String

A String representing the full path to the report file (.REPX) to be opened.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object which specifies the look-and-feel settings applied to the End-User Designer form.

#Remarks

The XRDesignFormExBase class is intended for creation of an SDI End-User Designer form. To create an MDI End-User Designer, use the XRDesignForm class, and the XRDesignPanel.OpenReport method of the XRDesignPanel class. To learn more, refer to WinForms Reporting.

See Also