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.v25.1.dll
NuGet Package: DevExpress.Wpf.Reporting
Declaration
[Browsable(false)]
public ReportDesignerDocument OpenDocumentFrom(
object source,
Action<ReportDesignerDocument> beforeLoad = null
)
Parameters
| Name | Type | Description |
|---|---|---|
| source | Object | A source object that contains a report to be opened. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| beforeLoad | Action<ReportDesignerDocument> | null | An action that will be invoked before the report is loaded. |
Returns
| Type | Description |
|---|---|
| ReportDesignerDocument | A designer document that displays the report from the specified source. |
See Also