ReportDesigner.NewDocument(XtraReport, Action<ReportDesignerDocument>) Method
In This Article
Creates a new designer document and loads the specified report to it.
Namespace: DevExpress.Xpf.Reports.UserDesigner
Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll
NuGet Package: DevExpress.Wpf.Reporting
#Declaration
public ReportDesignerDocument NewDocument(
XtraReport report,
Action<ReportDesignerDocument> beforeLoad = null
)
#Parameters
Name | Type | Description |
---|---|---|
report | Xtra |
The report to be opened in a new designer document. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
before |
Action<Report |
null | An action that will be invoked before a new document is created. |
#Returns
Type | Description |
---|---|
Report |
The created designer document that displays the specified report. |
See Also