Skip to main content

DashboardStyleSheetsSettingsBuilder Class

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

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public class DashboardStyleSheetsSettingsBuilder

Remarks

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.

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

Inheritance

Object
DashboardStyleSheetsSettingsBuilder
See Also