Skip to main content
All docs
V24.2

IReportDesignerModelBuilder.WizardSettings(Action<WizardSettings>) Method

Allows you to specify certain settings for the Report Wizard invoked by Web Report Designer.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

IReportDesignerModelBuilder WizardSettings(
    Action<WizardSettings> configure
)

Parameters

Name Type Description
configure Action<WizardSettings>

A Action that modifies the initial WizardSettings values.

Returns

Type Description
IReportDesignerModelBuilder

A IReportDesignerModelBuilder that can be used to further configure the Report Designer.

Remarks

The following code example hides the Data Federation item in the Select Data Source type wizard page:

public IActionResult ReportDesigner(
    [FromServices] IReportDesignerModelBuilder reportDesignerModelBuilder,
    [FromQuery] string reportName) {
    reportName = string.IsNullOrEmpty(reportName) ? "TestReport" : reportName;
    var designerModel = reportDesignerModelBuilder
        .Report(reportName)
        .WizardSettings(s => {
            s.EnableFederationDataSource = false;
        })
        .BuildModel();
    return View(designerModel);
}

Data Federation Item in Report Wizard

See Also