Microsoft Ribbon for WPF 与 Office RIbbon UI

发布于 2024-09-14 08:30:58 字数 717 浏览 4 评论 0原文

Microsoft 发布了可供下载的 Microsoft Ribbon for WPF 此处。

我们还有 RibbonControlsLibrary.dll,它也是一个功能区控件,可以从 Office 站点下载。目前为CTP版本。

现在,这两个版本的丝带有什么区别?

到目前为止,我发现:

  • MS Ribbon for WPF 没有任何主题支持,但具有 Office 2010 功能区的外观和感觉。不支持 Office 2007 功能区外观和风格。

  • RibbonControlsLibrary.dll(仍为 CTP)中的功能区支持 Office 2007 外观和风格主题,还支持 Office 2010 外观和风格。但它无法在.NET 4.0 上正常运行。显示组合框、文本框等控件时存在一些错误。

还有其他人使用过这些吗?您能给我一个稳定版本的 RibbonControlsLibrary.dll 的链接吗?它存在吗?事实上,MS Ribbon for WPF 是 RibbonControlsLibrary.dll 的 RTW 还是只有 2 个独立的功能区?

Microsoft released Microsoft Ribbon for WPF available for download here.

We also have RibbonControlsLibrary.dll, which is a ribbon control too, available for download from Office sites. Currenty it is in CTP version.

Now, which is the difference between these 2 version of ribbons ?

Until now I identified that:

  • MS Ribbon for WPF doesn't have any theming support and it has an Office 2010 ribbon look and feel. No support for Office 2007 ribbon look and feel.

  • The ribbon from RibbonControlsLibrary.dll (still CTP) supports theming for Office 2007 look and feel and also supports Office 2010 look and feel. But it doesn't run properly with .NET 4.0. There are some bugs when displaying controls such as comboboxes,textboxes.

Does anybody else worked with these ? Can you give me a link to a stable version of RibbonControlsLibrary.dll ? Does it exists ? Is in fact MS Ribbon for WPF the RTW for the RibbonControlsLibrary.dll or there are just 2 separate ribbons ?

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

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

发布评论

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

评论(1

十六岁半 2024-09-21 08:31:06

微软已经全面推出了功能区控件。在某一时刻,至少存在三种不同的版本。我的理解是,WPF 团队已决定将新的 Microsoft Ribbon for WPF 作为功能区的“官方”版本。它使用 Windows“Scenic”功能区 UI(如 Windows 7 PaintWordPad 应用程序中所示),而不是某些应用程序中的 Office 2007“Fluent”功能区 UI较早的控制。我认为 WPF 团队正在引导开发人员远离 Fluent 功能区,转向 Scenic 功能区。

如果您想要 Office 2010 的外观及其“后台”功能,有许多商业和开源项目可以实现该 UI。我尝试过 Fluent Ribbon Control Suite,这是 CodePlex 上提供的免费控件,它似乎做了一个WPF 4 做得相当不错,有不错的文档。

希望有帮助!

Microsoft has been all over the board with ribbon controls. At one point, there awere at least three different versions floating around. My understanding is that the WPF team has settled on the new Microsoft Ribbon for WPF as the 'official' version of the ribbon. It uses the Windows 'Scenic' ribbon UI (as seen in the Windows 7 Paint and WordPad applications), as opposed to the Office 2007 'Fluent' Ribbon UI found in some earlier controls. I think the WPF team is steering developers away from the Fluent ribbon, and toward the Scenic ribbon.

If you want an Office 2010 look, with it's 'backstage' feature, there are a number of commercial and OpenSource projects that implement that UI. I have played around with the Fluent Ribbon Control Suite, a free control available on CodePlex, and it seems to do a pretty good job in WPF 4, with decent documentation.

Hope that helps!

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