如何获得“本土化” 在 Windows XP 上寻找 WPF 小部件?
我刚刚开始玩 WPF。
我注意到,虽然有些小部件会自动拾取本机外观和感觉(例如按钮、菜单),但其他一些小部件则不会(例如标签、面板和窗口具有白色背景)。
如何使 WPF 中的所有小部件默认看起来正常?
I have just started playing around with WPF.
I've noticed that while some widgets automatically pick up the native look and feel (e.g, buttons, menus), some others don't (e.g., labels, panels and windows have white backgrounds).
How do I make all widgets look normal by default in WPF?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是在PresentationFramework.Luna 程序集中定义模板的方式。 您可以使用此处找到的 ShowMeTheTemplate 工具查看所有 6 个 Windows 主题的所有默认模板:http ://www.sellsbrothers.com/tools/#ShowMeTheTemplate
-乔恩
This is the way the templates are defined in the PresentationFramework.Luna assembly. You can look at all of the default templates for all 6 Windows themes by using the ShowMeTheTemplate tool found here: http://www.sellsbrothers.com/tools/#ShowMeTheTemplate
-Jon