ReportingConfigurationBuilder.ConfigureReportDesigner(Action<ReportDesignerConfigurationBuilder>) Method
Provides access to the ReportDesignerConfigurationBuilder object that exposes methods for registering custom or predefined services extending the Web Report Designer functionality.
Namespace: DevExpress.AspNetCore.Reporting
Assembly: DevExpress.AspNetCore.Reporting.v18.2.dll
Declaration
public ReportingConfigurationBuilder ConfigureReportDesigner(
Action<ReportDesignerConfigurationBuilder> configure
)
Parameters
Name | Type | Description |
---|---|---|
configure | Action<ReportDesignerConfigurationBuilder> | An Action<T> delegate method that allows you to configure Web Report Designer custom services using the methods of the ReportDesignerConfigurationBuilder object, which is passed as the delegate parameter. |
Returns
Type | Description |
---|---|
ReportingConfigurationBuilder | A ReportingConfigurationBuilder that can be used to further configure the reporting services. |
Remarks
The code below registers a custom IDataSourceWizardConnectionStringsProvider service for the Web Report Designer.
using DevExpress.AspNetCore;
using DevExpress.AspNetCore.Reporting;
//...
public class Startup {
//...
public void ConfigureServices(IServiceCollection services) {
services.AddDevExpressControls();
services.AddMvc();
services.ConfigureReportingServices(configurator => {
configurator.ConfigureReportDesigner(designerConfigurator => {
designerConfigurator.RegisterDataSourceWizardConnectionStringsProvider<customProvider>();
});
});
}
//...
}
See Also