如何在metro框架上添加主题? [英] How to add theme on metro framework ?
本文介绍了如何在metro框架上添加主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改地铁框架主题颜色?
我尝试过:
在Windows窗体属性上有主题选项,如theme = default,light,dark。
但我不想要这个主题颜色。在黑暗中有背景颜色是黑色但我想要红色所以改变它。
我是Windows应用程序的新手,请让我知道这个?
how to change metro framework theme color?
What I have tried:
on windows form property there option for theme like theme = default, light , dark.
but i don't want this theme color. on dark there is background color is black but i want red so to change it.
i'm new in windows application, please let me know about this?
推荐答案
Metro框架是开源的,你试图改变Win form的背景颜色。我相信WPF有一个选项可以改变背景颜色但是,正如我看到你正在使用Windows窗体,但它不可能,因为你只能改变你可以制作的背景更亮或更暗的黑暗。
我相信有一个你可以通过GitHub分析来了解这个框架,他们已经做了一些改变背景颜色的练习。
GitHub - dennismagno / metroframework-modern-ui:我勉强尝试将Windows 8的新现代UI别名Metro UI引入.NET Windows Forms应用程序。 [ ^ ]
另一个主题 [ ^ ]
Metro framework is open source and you are attempting to change the background color of Win form.I believe WPF has an option to change the background color but, as i see you are using windows form, its not possible though as you can only change the darkness that is lighter or more darker the background you can make only.
I believe there is a GitHub fork that you can look into to get some idea on this framework and they have done some practice to change the background color.
GitHub - dennismagno/metroframework-modern-ui: My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.[^]
Another thread[^]
这篇关于如何在metro框架上添加主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文