WPF,可能是功能区控件:向标题栏添加图标
我相信下图中标题栏中的小图标是使用功能区控件添加的?我最近一直在谷歌搜索,但没有得到太多帮助。
有一个 WPF 功能区来自 Microsoft 的控件库,但同样不会在标题栏中设置任何内容。
我还找到了一个 microsoft shell 库,它将一些 Windows 7 位集成到 wpf 中,并允许您摆弄铬合金。它已经一年没有更新了,所以不确定它是否是最新的。
有什么想法吗?
相关问题它仅适用于Windows 7吗?我没有任何 XP 计算机来查看 Office 2010 的外观。如果可能的话,我更喜欢 XP/Windows 7 WPF 解决方案。
I believe that the little icon in the title bar in the image below is added using a ribbon control? I've been googling for the last while and I'm not getting much help.
There's a WPF ribbon control library from Microsoft, but the same from that does not set anything in the title bar.
I've also found a microsoft shell library which integrates some windows 7 bits into wpf and allows you to fiddle with the chrome. It hasn't seen updates in a year, so not sure if it's current yet.
Any ideas?
Related question Does it only work on Windows 7? I don't have any XP machines to see what Office 2010 looks like. I'd prefer a XP/Windows 7 WPF solution if possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这称为快速访问工具栏,最后有一个示例此 MSDN 页面。
它在 XP 和 Windows 7(以及 Vista)上的工作方式应该相同。
That is called the Quick Access Toolbar and there is an example at the end of this MSDN page.
It should work the same on both XP and Windows 7 (and Vista for that matter).
该区域称为快速访问工具栏,如下所述: http://msdn.microsoft.com/en-us/library/dd940502(v=vs.85).aspx
我不确定您引用的功能区控件库的具体细节,但我们使用的是 Actipro 的一款,它运行良好,并且支持 xp 和 win7。
That area is known as the Quick Access ToolBar as described here: http://msdn.microsoft.com/en-us/library/dd940502(v=vs.85).aspx
I'm not sure on the specifics in regards to the Ribbon control library that you referenced, but we are using one from Actipro and it works great and both xp and win7 are supported.