如何将主题应用于WPF控件 [英] How to apply themes for wpf controls

查看:105
本文介绍了如何将主题应用于WPF控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我想为wpf中的所有控件设置主题.
假设我在下拉菜单中有蓝色,红色,橙色主题.
根据主题选择,应在wpf中更改所有控件的颜色和样式.


谁能帮我提供样品.




在此先感谢.
Froxy

Hi All

I wan to set theme for all of the controls in wpf.
Say I have Blue,Red,Orange color themes in the dropdown.
Based on the theme selection all the controls color and style should be changed in wpf.


Can anyone help me with the sample.




Thanks in Advance.
Froxy

推荐答案

首先,请参阅此CodeProject文章:
WPF主题和外观引擎 [ http://wpf.codeplex.com/wikipage?title=WPF%20Themes [ ^ ],
http://wpf.codeplex.com/releases/view/14962 [
—SA
First of all, please see this CodeProject article:
WPF Themes and Skins Engine[^].

See also:
http://wpf.codeplex.com/wikipage?title=WPF%20Themes[^],
http://wpf.codeplex.com/releases/view/14962[^] (locate "WPF Themes" download in this page).

—SA


这篇关于如何将主题应用于WPF控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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