如何在我自己的 WPF 应用程序上使用 Visual Studio 11 深色主题?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23524511/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use Visual Studio 11 Dark Theme on my own WPF application?
提问by Moses Aprico
Anyone how to use Visual Studio 11 Dark Theme in my own WPF application? I mean the color and design of the controls. (I code using VS 11 too)
任何人如何在我自己的 WPF 应用程序中使用 Visual Studio 11 深色主题?我的意思是控件的颜色和设计。(我也使用 VS 11 编码)
Visual Studio team themselves say this :
Visual Studio 团队自己这样说:
As a part of the Visual Studio 11 overall release plan we will be making all of the icons for this release available to you in multiple file formats including vector. You are free to take full advantage of the easy theme-ability and resize-ability of these assets within your own applications.
作为 Visual Studio 11 整体发布计划的一部分,我们将以多种文件格式(包括矢量)向您提供此版本的所有图标。您可以在自己的应用程序中自由地充分利用这些资产的简单主题能力和调整大小能力。
Source : http://blogs.msdn.com/b/visualstudio/archive/2012/05/29/visual-studio-dark-theme.aspx(Last paragraph in Themed Icons section)
来源:http: //blogs.msdn.com/b/visualstudio/archive/2012/05/29/visual-studio-dark-theme.aspx(主题图标部分的最后一段)
回答by presarioruby
回答by VDWWD
If you want a wpf / xaml dark theme or dark mode (or any other color), use the MahApps.MetroUI toolkit. It replaces a lot of the default WPF controls with Metro styled ones that you can give all sorts of custom colors and themes.
如果您想要 wpf / xaml 深色主题或深色模式(或任何其他颜色),请使用MahApps.MetroUI 工具包。它用 Metro 风格的控件替换了许多默认的 WPF 控件,您可以提供各种自定义颜色和主题。


