WPF Prism and Ribbon samples/tutorials

十年热恋 提交于 2019-11-29 22:40:28

问题


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.


回答1:


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.




回答2:


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

It includes RegionAdapter for Ribbon .




回答3:


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.




回答4:


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



来源:https://stackoverflow.com/questions/3127328/wpf-prism-and-ribbon-samples-tutorials

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!