The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardStyleSheetsSettingsBuilder Class

Contains methods that allow you to manage the control's color scheme.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v19.2.AspNetCore.dll


public class DashboardStyleSheetsSettingsBuilder
Public Class DashboardStyleSheetsSettingsBuilder


You can use the following values to define the Web Dashboard's color scheme:

Color scheme Description
light Identifies the Light color scheme.
light.compact Identifies the Light compact color scheme.
dark Identifies the Dark color scheme.
dark.compact Identifies the Dark compact color scheme.

To apply a required color scheme, pass its name to the DashboardStyleSheetsSettingsBuilder.ColorScheme method using the lambda expression.

    @Html.DevExpress().StyleSheets(styles => styles.AddDashboard(settings => settings.ColorScheme("dark.compact")))
    <!-- ... -->


See Also