简体   繁体   English

可视化WebGUI更改主题

[英]Visual WebGUI change theme

I am using VisualwebGUI in my application. 我在我的应用程序中使用VisualwebGUI Its working fine. 它的工作正常。 The problem is, i am setting a theme in application properties -> Registration . 问题是,我在应用程序属性->注册中设置了主题。

But as per the requirement, change theme option should come in a frontend and user can change the themes. 但是根据要求,“更改主题”选项应该位于前端,用户可以更改主题。 Please help me. 请帮我。

You can change the current theme in runtime by modifying Context.CurrentTheme Form property, or VWGContext.CurrentTheme static property. 您可以在运行时通过修改Context.CurrentTheme Form属性或VWGContext.CurrentTheme静态属性来更改当前主题。 The value should be a name of theme configured in Registration. 该值应该是在“注册”中配置的主题名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM