corelibraries-devexpress-dot-xtrareports-dot-web-dot-reportdesigner-dot-datacontracts-cf9c8ba1.md
Contains the Report Wizard settings.
Namespace : DevExpress.XtraReports.Web.ReportDesigner.DataContracts
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
[DataContract]
public class WizardSettings :
SerializableSettingsBase
<DataContract>
Public Class WizardSettings
Inherits SerializableSettingsBase
The following members return WizardSettings objects:
The WizardSettings class contains settings that you can use to configure the Report Wizard.
The following image shows how the EnableFederationDataSource option affects the Select data source type wizard page:
The following code disables the EnableFederationDataSource option:
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.WizardSettings(s => s.EnableFederationDataSource = false)
.Bind("TestReport");
@designerRender.RenderHtml()
public IActionResult Designer(
[FromServices] IReportDesignerClientSideModelGenerator clientSideModelGenerator,
[FromQuery] string reportName) {
Models.ReportDesignerCustomModel model = new Models.ReportDesignerCustomModel();
model.ReportDesignerModel = CreateDefaultReportDesignerModel(clientSideModelGenerator, reportName, null);
model.ReportDesignerModel.WizardSettings.EnableFederationDataSource = false;
return View(model);
}
@model ReportDesignerModel
@Html.DevExpress().ReportDesigner(settings => {
settings.Name = "ReportDesigner1";
settings.SettingsWizard.EnableFederationDataSource = false;
// Add the created data source to the list of default data sources.
foreach(var dataSourceItem in Model.DataSources)
settings.DataSources.Add(dataSourceItem.Key, dataSourceItem.Value);
}).BindToUrl("TestReport").GetHtml()
Object DevExpress.Utils.SerializableSettingsBase WizardSettings
See Also
DevExpress.XtraReports.Web.ReportDesigner.DataContracts Namespace