在Silverlight 4.0中为UserControl动态应用主题 [英] Apply Themes dynamically for UserControl in Silverlight 4.0

查看:81
本文介绍了在Silverlight 4.0中为UserControl动态应用主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在Silverlight中为UserControls动态应用主题.
我创建了3个项目.
1)包含主题和图像
2)包含UserControls
3)我使用主题和用户控件的项目


如何动态更改用户控件的主题?
请给我建议一种方法...

Hi,

I want to apply themes dynamically for UserControls in silverlight.
I have created 3 projects.
1) Contains Themes and Images
2) Contains UserControls
3) My project where I have used my themes and Usercontrols


How can I change themes dynamically for usercontrol?
Please suggest me a way...

推荐答案

使用隐式样式和Theme控件在Silverlight 4中应用主题.
http://weblogs.asp.net/lduveau/archive/2010/05/31/dynamically-apply-and-change-theme-with-the-silverlight-toolkit.aspx [ Silverlight中的动态主题 [
Use the implicit styles and Theme control to apply Themes in Silverlight 4.
http://weblogs.asp.net/lduveau/archive/2010/05/31/dynamically-apply-and-change-theme-with-the-silverlight-toolkit.aspx[^]
Dynamic Theming in Silverlight[^]


此链接也很有用. br/>

http://www.pitorque.de/MisterGoodcat/post/Creating-Packs-from-the-Silverlight-Application-Themes.aspx
this link is also useful.


http://www.pitorque.de/MisterGoodcat/post/Creating-Packs-from-the-Silverlight-Application-Themes.aspx


这篇关于在Silverlight 4.0中为UserControl动态应用主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆