Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportDesigner.NewDocument(XtraReport, Action<ReportDesignerDocument>) Method

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 XtraReport

The report to be opened in a new designer document.

#Optional Parameters

Name Type Default Description
beforeLoad Action<ReportDesignerDocument> null

An action that will be invoked before a new document is created.

#Returns

Type Description
ReportDesignerDocument

The created designer document that displays the specified report.

See Also