Back to Devexpress

ReportsOptions Class

expressappframework-devexpress-dot-expressapp-dot-reportsv2-dot-win-c4c236be.md

latest1.9 KB
Original Source

ReportsOptions Class

Contains options that you can use to configure the Reports V2 Module.

Namespace : DevExpress.ExpressApp.ReportsV2.Win

Assembly : DevExpress.ExpressApp.ReportsV2.Win.v25.2.dll

NuGet Package : DevExpress.ExpressApp.ReportsV2.Win

Declaration

csharp
public class ReportsOptions :
    ReportModuleOptions
vb
Public Class ReportsOptions
    Inherits ReportModuleOptions

Remarks

The following example demonstrates how to access these options:

File : MySolution.Win\Startup.cs.

csharp
using DevExpress.ExpressApp.ApplicationBuilder;
using DevExpress.ExpressApp.Win.ApplicationBuilder;
// ...
public class ApplicationBuilder : IDesignTimeApplicationFactory {
    public static WinApplication BuildApplication(string connectionString) {
        var builder = WinApplication.CreateBuilder();
        builder.UseApplication<MySolutionWindowsFormsApplication>();
        builder.Modules
            // ...
            .AddReports(options => {
                options.EnableInplaceReports = true;
            })
        // ...
    }
    // ...
}

Inheritance

Object ReportModuleOptions ReportsOptions

See Also

ReportsOptions Members

DevExpress.ExpressApp.ReportsV2.Win Namespace