Back to Devexpress

DashboardsOptions Class

expressappframework-devexpress-dot-expressapp-dot-dashboards-dot-win-615758f2.md

latest1.8 KB
Original Source

DashboardsOptions Class

Contains options that you can use to configure the Dashboards Module.

Namespace : DevExpress.ExpressApp.Dashboards.Win

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

NuGet Package : DevExpress.ExpressApp.Dashboards.Win

Declaration

csharp
public class DashboardsOptions
vb
Public Class DashboardsOptions

Remarks

The following example demonstrates how to access these settings:

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
            // ...
            .AddDashboards(options => {
                options.DashboardDataType = typeof(DashboardData);
            })
        // ...
    }
    // ...
}

Inheritance

Object DashboardsOptions

See Also

DashboardsOptions Members

DevExpress.ExpressApp.Dashboards.Win Namespace