WPF:我应该成为一名设计师吗?

发布于 2024-08-02 07:49:13 字数 307 浏览 6 评论 0原文

我喜欢开发许多小型 WPF 应用程序。通常我使用 WPF Futures 的主题,但它们远非完美(例如,其中可能没有实现选项卡的样式)。每次我都必须在颜色、渐变、微小细节上花费大量时间(受到其他 WPF 应用程序的启发)......以便至少使总体外观保持一致。为什么这对于我制作的每个小应用程序来说都是如此麻烦?如果 WPF 附带 XP/Vista/7“默认”主题,那就太好了。

我想知道您在申请此类申请时通常会做什么?我不想了解商业应用程序,我不会花钱请设计师或99美元的主题(我也不会使用免费的Reuxables主题,看起来一点也不好看)。一个拥有许多共享主题的网站将是完美的:)

I like to develop many tiny WPF applications. Usually I use the WPF Futures' themes, but they're far from perfect (by example, may of them doesn't implement styles for the tabs). Each time I have to spend a lot of time on the the colors, gradients, tiny details (being inspired by others WPF apps)... in order to make the general appearance, at least, consistent. Why this has to be such an hassle for every tiny application I make? It would have been great to have a XP/Vista/Seven "by default" theme brought with WPF.

I would like to know what you usually do when you make this kind of applications. I don't want to know about commercial applications, I will not spend money on a designer or on a 99$ theme (neither I will use the free Reuxables themes, doesn't look great at all). A website with many themes shared would be perfect though :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

好菇凉咱不稀罕他 2024-08-09 07:49:13

您可以忽略主题,您将获得您运行的任何版本的 Windows 的外观和感觉(与 WinForms 相同,除了窗口的背景颜色)。

或者您可以编写自己的主题/使用免费主题/购买主题,在这种情况下,您必须自己设计所有内容或修复您正在使用的主题的所有问题 - 如果您有第 3 方主题 WinForms 控件你也陷入了同样的困境。

因此,如果您希望您的应用程序看起来不错,那么无论您使用 WinForms、WPF 还是 Java,您都需要一名设计师(您或其他人)。

至少使用 WPF 编写主题相对容易。

You can just ignore themes and you will get the look and feel of whatever version of Windows you are running on (the same as WinForms, except for the window's background color).

Or you can write your own theme/use a free theme/buy a theme, in this case you have to either design everything yourself or fix all the problems with the theme you're using - and if you have 3rd-party themed WinForms controls you are in exactly the same mess.

So, if you want your app to look good you need a designer (either you or someone else) no matter if you use WinForms, WPF or Java.

At least with WPF it's relatively easy to write the themes.

め七分饶幸 2024-08-09 07:49:13

您可以直接说“这看起来像一个 Windows 窗体应用程序吗?”

<Window Background ="{Binding Source={x:Static SystemColors.ControlBrush}}>

问题解决了。 :-)

Can you just say "This will look like a Windows Forms Application."

<Window Background ="{Binding Source={x:Static SystemColors.ControlBrush}}>

Problem solved. :-)

怪我太投入 2024-08-09 07:49:13

查看 Codeplex 上的 WPF 主题 项目。大多数主题都非常完整,因此您应该不会遇到任何问题,如果您这样做,它是开源的,因此您可以添加缺少的样式,而不必担心再次这样做。

Check out the WPF Themes project on Codeplex. Most of the themes are pretty complete so you shouldn't have any problems and if you do it's open source so you can add the missing styles and not have to worry about doing it again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文