Skip to main content
All docs
V24.2

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

IReportDesignerModelBuilder Interface

A builder for the Web Report Designer.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

#Declaration

public interface IReportDesignerModelBuilder

#Remarks

The following code snippet is an example of a Report Designer controller that uses a service that implements the IReportDesignerModelBuilder interface:

public class HomeController : Controller {
    public IActionResult Index([FromServices] IReportDesignerModelBuilder reportDesignerModelBuilder) {
        ReportDesignerModel model = reportDesignerModelBuilder
            .Report("TestReport")
            .BuildModel();
        return View(model);
    }
} 

View Example

See Also