Skip to main content
All docs
V23.2

DevelopmentModeOptions.Enabled Property

Enables Development mode.

Namespace: DevExpress.XtraReports.Web.Extensions.Options

Assembly: DevExpress.Web.Reporting.v23.2.Common.Services.dll

NuGet Package: DevExpress.Web.Reporting.Common.Services

Declaration

public bool Enabled { get; set; }

Property Value

Type Description
Boolean

true if Development mode is enabled; otherwise, false.

Remarks

The ReportingConfigurationBuilder.UseDevelopmentMode() method enables Development mode on both server and client sides. The method sets the Enabled property to true and enables all application diagnostic options in development mode.

You can set the Enabled property to false to disable all diagnostics:

var builder = WebApplication.CreateBuilder(args);

builder.Services.ConfigureReportingServices(configurator => {
    configurator.UseDevelopmentMode(options => {
        options.Enabled = false;
    });
});

var app = builder.Build();
See Also