Skip to main content
A newer version of this page is available. .

XRDesignRibbonForm.OpenReport(XtraReport) Method

Loads the specified report instance into the XRDesignRibbonForm.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v19.1.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public void OpenReport(
    XtraReport report
)

Parameters

Name Type Description
report XtraReport

An XtraReport object, or one of its descendants representing the report to be opened.

Remarks

The OpenReport method opens a report in the currently active XRDesignPanel of the XRDesignRibbonForm. 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OpenReport(XtraReport) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also