WPF Prism 和 Ribbon 示例/教程

发布于 2024-09-07 08:46:51 字数 230 浏览 3 评论 0原文

我正在寻找带有功能区应用程序示例和教程的 WPF 棱镜。我发现许多涉及棱镜或带状的内容,但只有少数来源提供了有关在一个应用程序中同时实现这两者的信息。通常没有可用的课程代码。包含一些简单模块和经典功能区选项卡控件的示例非常适合我开始。

感谢您的任何帮助。

问候, 恩佐.

编辑: 我应该补充一点,通过组合两者,我希望能够根据用户选择的功能区选项卡加载不同的模块。

I'm looking for a WPF prism with ribbon application samples and tutorials. I have found many that cover prism or ribbon but only a few sources provide any information about implementating those two together in one application. No course code usually in available tough. An example with a few simple modules and a classical ribbon tab control would be perfect for me to start.

Thanks for any help.

Regards,
Enzo.

Edit:
I should add that by combining the two I want to be able to load different modules depending on the ribbon tab selected by user.

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

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

发布评论

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

评论(4

单身狗的梦 2024-09-14 08:46:51

您可以在此处找到有关 WPF 功能区预览的自定义区域适配器的一些信息。

关于Prism中按需加载模块,这里是另一个MSDN链接,涵盖主题。

You can find some info on a customized region adapter for the WPF Ribbon Preview here.

Regarding the loading of modules on demand in Prism, here is another link to MSDN, covering the topic.

孤独陪着我 2024-09-14 08:46:51

David Veeneman 写了一篇关于 Ribbon 和 Ribbon 的好文章。 CodeProject 上的 Prism
http://www.codeproject.com/KB/WPF/ViewSwitchingAppsPrism4.aspx

它包括 Ribbon 的 RegionAdapter 。

David Veeneman wrote a nice article about Ribbon & Prism on CodeProject
http://www.codeproject.com/KB/WPF/ViewSwitchingAppsPrism4.aspx

It includes RegionAdapter for Ribbon .

待"谢繁草 2024-09-14 08:46:51

Codeplex 上有“Southridge 动手实验室”(在 WPF future 页面)。它相当广泛,但文档和源代码不同步(看起来他们更新了实验室源代码,但没有随附文档),因此有时了解正在发生的事情可能会很痛苦。

它基于 Microsoft 的 WPF 功能区预览 库。

编辑:
我不知道有任何教程涵盖这两者。您可以查看系列Mike Taulty 的关于 Prism 和 Silverlight 的视频。还有上一个视频中制作的应用程序的源代码。
然后,您可以将 Southridge 实验室的知识与此 Prism 教程结合起来。

There is "Southridge Hands-On Labs" on Codeplex (download on WPF futures page). It is quite extensive, but documentation and source code are not in sync (it looks they updated labs source, but not accompanying documentation), so it can be a pain sometimes to get what is going on.

It is based on Microsoft's WPF Ribbon Preview library.

Edit:
I am not aware about any tutorial that covers both. You can check series of videos on Prism and Silverlight by Mike Taulty. There is also source code for application made in last video.
Then you can combine knowledge from Southridge labs and this Prism tutorial.

聊慰 2024-09-14 08:46:51

这个周末我遇到了类似的问题,经过大量阅读和搜索后,我提出了这段代码,我发布了供审查

https://codereview.stackexchange.com/questions/429/mvvm-wpf-ribbon-v4-with-prism

I ran into a similar problem this weekend and after much reading and searching came up with this code that I posted for review

https://codereview.stackexchange.com/questions/429/mvvm-wpf-ribbon-v4-with-prism

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