dashboard-devexpress-dot-dashboardaspnetcore-d39a5fdd.md
Contains methods that allow you to manage the control’s color scheme.
Namespace : DevExpress.DashboardAspNetCore
Assembly : DevExpress.Dashboard.v25.2.AspNetCore.dll
NuGet Package : DevExpress.AspNetCore.Dashboard
public class DashboardStyleSheetsSettingsBuilder
Public Class DashboardStyleSheetsSettingsBuilder
The following members return DashboardStyleSheetsSettingsBuilder objects:
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>
Object DashboardStyleSheetsSettingsBuilder
See Also
DashboardStyleSheetsSettingsBuilder Members