Skip to main content

StyleSheetResourceBlockExtension.AddDashboard(StyleSheetSettings, Action<DashboardStyleSheetsSettingsBuilder>) Method

Adds the stylesheets required for the ASP.NET Core Dashboard.

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public static StyleSheetSettings AddDashboard(
    this StyleSheetSettings settings,
    Action<DashboardStyleSheetsSettingsBuilder> config
)

Parameters

Name Type Description
settings StyleSheetSettings

A StyleSheetSettings object that is a stylesheet required for the ASP.NET Core Dashboard.

config Action<DashboardStyleSheetsSettingsBuilder>

A delegate used to configure the DashboardStyleSheetsSettingsBuilder.

Returns

Type Description
StyleSheetSettings

A StyleSheetSettings object that is a stylesheet required for the ASP.NET Core Dashboard.

Remarks

Use the DashboardStyleSheetsSettingsBuilder.ColorScheme method to specify a color scheme for the Web Dashboard.

See Also