A newer version of this page is available. Switch to the current version.

ReportDesigner.OpenDocument(String, Action<ReportDesignerDocument>) Method

Loads a report from the specified REPX file and opens it in the End-User Report Designer.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v20.2.dll


public ReportDesignerDocument OpenDocument(
    string reportFilePath,
    Action<ReportDesignerDocument> beforeLoad = null


Name Type Description
reportFilePath String

A string that specifies the full path to the report file (.REPX) or an unique report ID (if you use custom report storage).

Optional Parameters

Name Type Default Description
beforeLoad Action<ReportDesignerDocument>


An action that will be invoked before the report is loaded.


Type Description

A designer document that displays the report from the specified file.


The OpenDocument method creates a new instance of the ReportDesignerDocument class and loads a report to it.

See Also