• .NET

    Decouple RadRibbonBar with Composite Silverlight (Prism)

    Let's suppose we want to decouple our application that uses RadRibbonBar as a main menu. Doing this using Composite Application Guidelines (Prism) is common scenario, so let's see how to achieve it. We'll make our RadRibbonBar to serve as RegionManager (This is possible because RadRibbonBar inherits from ItemsControl) and the RadRibbonTabs as actual views that will be plugged-in. So first we start with declaring RadRibbonBar as RegionManager : <telerikRibbonBar:RadRibbonBar Regions:RegionManager.RegionName="RibbonRegion" /> Having Region we can focus on creating the actual views. Let's add new Silverlight class library project and name it SalesRibbonTab. Now we need the view itself, so add new class let's say Ribbon...