This post is update to my first post about "Decouple RadRibbonBar with Composite Silverlight (Prism)" (Read More). Nesting Regions in Prism could sound weird to someone, but the demand for this is growing. Check this forum post for more info.
As a result to this post I've decided to update my previous example project. I've started by marking the one of the RibbonTabs as a Region as well, giving it a name SalesTab.
After that I've added a new project similar to the other Modul projects, but the main view will be of base type - RadRibbonGroup:
And Finally add the new GroupModule to the bootstraper 's Module catalog.
ModuleCatalog catalog =
As a result I get nested Prism Regions, where the main region has two Tabs and the nested Region tab has one static Group and one Dynamic.
I've also updated the project's referenced assemblies to the latest Prism and Telerik binaries. Also migrated the project to Visual Studio 2010 using Silverlight 4.
Download the code - RadRibbonBarPrism.zip
All comments and feedback are more than welcomed.
Miro Miroslavov is XAML enthusiast. You can follow him on Twitter at @mmiroslavov.
Subscribe to be the first to get our expert-written articles and tutorials for developers!