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

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.v19.1.Extensions.dll


public void OpenReport(
    string fileName,
    UserLookAndFeel lookAndFeel
Public Sub OpenReport(
    fileName As String,
    lookAndFeel As UserLookAndFeel


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.


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.

See Also