Back to Devexpress

IReportDesignerModelBuilder Interface

xtrareports-devexpress-dot-xtrareports-dot-web-dot-reportdesigner-dot-services-b1b3893d.md

latest5.7 KB
Original Source

IReportDesignerModelBuilder Interface

A builder for the Web Report Designer.

Namespace : DevExpress.XtraReports.Web.ReportDesigner.Services

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

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

csharp
public interface IReportDesignerModelBuilder
vb
Public Interface IReportDesignerModelBuilder

The following members return IReportDesignerModelBuilder objects:

Show 19 links

Remarks

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

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

View Example

See Also

IReportDesignerModelBuilder Members

DevExpress.XtraReports.Web.ReportDesigner.Services Namespace