我如何获得原生的“外观和感觉"?使用 WPF? [英] How do I get the native "look and feel" using WPF?

查看:31
本文介绍了我如何获得原生的“外观和感觉"?使用 WPF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始开发 WPF 应用程序.这不是我的第一个 WPF 应用程序,但它将是第一个需要一些润色的应用程序.我对 WPF 的管道"(例如绑定等)了解很多,但对如何完善它却知之甚少.我不需要时髦的用户界面.我只需要看起来像本机 Windows 应用程序的东西.例如,如果应用程序在 XP 上运行,我希望它看起来像 XP 应用程序并选择用户的 UI 主题.在 Vista 等上也一样.

I've just started developing a WPF application. This is not my first WPF app, but it will be the first that needs some polish. I know quite a bit about the "plumbing" of WPF such as binding, etc., but very little about how to polish it up. I don't need a snazzy UI. I just need something that looks like a native Windows app. For instance, if the app runs on XP, I want it to look like an XP app and pick up the user's UI theme. Same thing on Vista, etc.

我该怎么做?

推荐答案

您无需执行任何操作 - WPF 已为您完成.

You don't have to do anything - WPF does it for you.

确实如此.使用 Aero/Luna 和 Classic 运行它.

It does. Run it with Aero/Luna and then Classic.

这篇关于我如何获得原生的“外观和感觉"?使用 WPF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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