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

ReportDesigner.OpenDocumentFrom(Object, Action<ReportDesignerDocument>) Method

For internal use. Loads a report from the specified source and opens it in the End-User Report Designer.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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


public ReportDesignerDocument OpenDocumentFrom(
    object source,
    Action<ReportDesignerDocument> beforeLoad = null


Name Type Description
source Object

A source object that contains a report to be opened.

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 source.

See Also