Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportModuleOptions.ReportStoreMode Property

Specifies the format used to store reports in the ReportsStorage.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v24.2.dll

#Declaration

public ReportStoreModes ReportStoreMode { get; set; }

#Property Value

Type Description
ReportStoreModes

A ReportStoreModes enumeration value that specifies the format used to store reports.

Available values:

Name Description
DOM

Reports are stored in the DOM format.

XML

Reports are stored in the XML format. Using this format instead of DOM can decrease the loading time of complex reports.

#Remarks

The following example demonstrates how to specify this property:

File: MySolution.Blazor.Server\Startup.cs.

using DevExpress.ExpressApp.ApplicationBuilder;
using DevExpress.ExpressApp.Blazor.ApplicationBuilder;
using DevExpress.Persistent.BaseImpl;
// ...
public class Startup {
   // ...
    public void ConfigureServices(IServiceCollection services) {
        // ...
        services.AddXaf(Configuration, builder => {
            builder.UseApplication<MySolutionBlazorApplication>();
            builder.Modules
                // ...
                .AddReports(options => {
                    options.ReportStoreMode = DevExpress.ExpressApp.ReportsV2.ReportStoreModes.XML;
                })
            // ...
        });
        // ...
    }
}
See Also