创建后我如何更改DevEx preSS项目的主题?

编程入门 行业动态 更新时间:2024-10-19 19:45:31
本文介绍了创建后我如何更改DevEx preSS项目的主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经创建了一个DevEx preSS Web项目(.NET)和向导挑一个主题。我现在有一些大小问题,主题和无法弄清楚如何改变这一主题,而无需创建一个新的项目,并再次经过向导,然后复制我的code到新项目。

I've created a DevExpress Web project (.NET) and picked a theme in the wizard. I'm now having some sizing issues with the theme and can't figure out how to change the theme without creating a new project and going through the wizard again, and then copying my code to the new project.

我假设有一个设置的地方,我失踪。有人能指出我朝着正确的方向?

I'm assuming there's a setting somewhere that I'm missing. Can someone point me in the right direction?

推荐答案

来源:项目向导文档

在选择主题选项卡允许您指定一个主题被应用到你的网站。您可以使用 或从DLL文件中添加自定义主题可用的主题。

The Choose Theme tab allows you to specify a theme to be applied to your site. You can use Available Themes or add a custom theme from a dll file.

选定的主题指定devEx preSS配置节的主题设置。

The selected theme specifies the theme settings of the devExpress configuration section.

ASPX 的

<devExpress> <themes enableThemesAssembly="true" styleSheetTheme="" theme="Aqua" /> ... </devExpress>

来源: Web应用程序模板

  • 在模板注册devEx preSS元素,并使用默认设置到Web.config文件中添加它。

ASPX 的

<configSections> <sectionGroup name="devExpress"> <section name="themes" type="DevExpress.Web.ASPxClasses.ThemesConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> <section name="compression" type="DevExpress.Web.ASPxClasses.CompressionConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> <section name="settings" type="DevExpress.Web.ASPxClasses.SettingsConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> <section name="errors" type="DevExpress.Web.ASPxClasses.ErrorsConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> </sectionGroup> </configSections> ... <devExpress> <themes enableThemesAssembly="true" styleSheetTheme="" theme="DevEx" /> <compression enableHtmlCompression="false" enableCallbackCompression="true" enableResourceCompression="true" enableResourceMerging="true" /> <settings rightToLeft="false" /> <errors callbackErrorRedirectUrl="" /> </devExpress>

  • 模板指定您在向导中设置Web.config文件的选项。
  • 经历这些文件的链接,并尝试根据您的需要修改这些设置。

    Go through these documentation links and try to modify these settings as you require.

更多推荐

创建后我如何更改DevEx preSS项目的主题?

本文发布于:2023-11-27 21:52:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639728.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何更改   项目   主题   preSS   DevEx

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!