DevExpress.Blazor.Themes

 DevExpress.Blazor.Themes 

The DevExpress.Blazor.Themes NuGet package contains the following Blazor application stylesheets:

  • Four built-in DevExpress themes
  • A stylesheet that allows you to apply Bootstrap-based themes to DevExpress Blazor components

Locate the Code that Sets the Theme

The code that sets the theme is always in the same place. The location does not depend on whether your application uses a DevExpress theme or the standard Bootstrap theme. The theme’s stylesheet is linked in the <head> section of the following files:

  • In the Pages/_Layout.cshtml file for Blazor Server.
  • In the wwwroot/index.html file for Blazor WebAssembly.

If you use the standard Bootstrap theme that ships with Microsoft Blazor templates or another Bootstrap-based theme, add a link to the bootstrap-external stylesheet below your theme’s stylesheet reference:

<head>
    @* For Bootstrap 5 *@
    <link rel="stylesheet" href="_content/DevExpress.Blazor.Themes/bootstrap-external.bs5.min.css" /> 
    @* For Bootstrap 4 *@
    <link rel="stylesheet" href="_content/DevExpress.Blazor.Themes/bootstrap-external.bs4.min.css" />
    @*...*@
</head>

 

dotnet add .\mycsproj package DevExpress.Blazor.Themes -v 21.2.7

NU1603: Ticketing.Web depends on DevExpress.Blazor.Themes (>= 21.2.7) but DevExpress.Blazor.Themes 21.2.7 was not found. An approximate best match of DevExpress.Blazor.Themes 22.1.3 was resolved.

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(54)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2021-12-08 Difference between pem, crt, key files
2021-12-08 Does RSA Private key always contain the Public key, or is it just .NET?
2021-12-08 Extract public/private key from PKCS12 file for later use in SSH-PK-Authentication
2021-12-08 What is PEM Format? Privacy Enhanced Mail
2021-12-08 HttpWebRequest client authentication with cert and key in pem format
2021-12-08 Converting PKCS#12 certificate into PEM using OpenSSL
2017-12-08 kentico7中设置网站的主页
点击右上角即可分享
微信分享提示