ReportOptions.ReportStoreMode Property
In This Article
Specifies the format used to store reports in the ReportsStorage.
Namespace: DevExpress.ExpressApp.ReportsV2
Assembly: DevExpress.ExpressApp.ReportsV2.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2
#Declaration
public ReportStoreModes ReportStoreMode { get; set; }
#Property Value
Type | Description |
---|---|
Report |
A Report |
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