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

ReportDesignerDocument.New(Func<XtraReport>) Method

Creates a new report based on the specified template and loads it to the current document.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public bool New(
    Func<XtraReport> newReportFactory = null
)

#Optional Parameters

Name Type Default Description
newReportFactory Func<XtraReport> null

A function that returns a report template.

#Returns

Type Description
Boolean

true, if the report has been successfully created; otherwise, false.

See Also