一.使用主题制作工具导出主题:

XAF.web.NewUI:如何自定义主题

XAF.web.NewUI:如何自定义主题

  1. 使用ThemeBuilder 创建这个主题的程序集(dll文件). 这个不会看这里. Generating a Custom Theme Assembly .

  2. 在你的xaf web项目中引用这个程序集。

  3. 修改web.config.devExpress 节,设置 theme 属性 值为 customThemeAssemblies. 如下所示:

<devExpress>
  <themes enableThemesAssembly="true" styleSheetTheme="" theme="XafTheme" customThemeAssemblies="ThemeAssembly1" />
  <!-- ... -->
</devExpress>

运行并查看效果:

XAF.web.NewUI:如何自定义主题

 

相关文章:

  • 2021-05-15
  • 2021-09-27
  • 2021-10-04
  • 2021-12-26
  • 2021-12-28
  • 2021-05-06
  • 2022-01-20
  • 2021-07-22
猜你喜欢
  • 2022-01-20
  • 2022-12-23
  • 2021-05-17
  • 2021-11-02
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案