根据 Infragistics 主题设置 WPF 控件的样式
我们正在使用 Infragistics WPF 控件(例如 xamDataGrid、xamDockManager 等),并且我们将使用这些控件支持的 Infragistics Office 2007 Blue 主题。
我们还希望使用相同的 Office 2007 Blue 样式来设计应用程序的其余部分(即标准 WPF 控件)。
最好的方法是什么?我们可以下载或购买 Office 2007 主题/皮肤吗?我们可以使用 Infragistics 下载中的任何内容吗?
we are using Infragistics WPF controls (e.g. xamDataGrid, xamDockManager etc), and we will be using the Infragistics Office 2007 Blue theme which these controls support.
We also want to style the rest of the application (i.e. standard WPF controls) using the same Office 2007 Blue style.
What's the best approach? Are there Office 2007 themes/skins that we can download or purchase? Can we use anything from the Infragistics download?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道这是一个老问题,但也许很少的更新对偶然发现这个问题的人有帮助。它正在当前版本的 Infragistics 中运行。
App.xaml
中的资源足够了。源指向解决方案中包含 Infragistics 主题文件的文件夹(通常类似于 C:\Program Files (x86)\Infragistics\2015.1\WPF\Themes)。I know this is an old question, but maybe little update can be helpful for anyone that stumbles upon this. It is working in current version of Infragistics. Resource in
App.xaml
in enough. Sources point to folder in solution that contains files from Infragistics themes (usually something likeC:\Program Files (x86)\Infragistics\2015.1\WPF\Themes
).IIRC for winforms infragistics 允许您使用应用程序设计师来为标准控件设置主题。
刚刚在论坛上快速浏览了一下,看起来 WPF 无法做到这一点。
如何将主题应用到非 Infragistics 控件
IIRC for winforms infragistics allow you to use the app stylist to be able to theme the standard controls.
Just had a quick look on the forums and it doesn't look like it can be done for WPF.
How to apply themes to non-Infragistics controls