Some time ago I faced the same problem (but I was using the Teleriks Ribbon Bar). I couldn't find any way to add tabs from the modules, or at less from XAML.
Some time ago I faced the same problem (but I was using the Teleriks Ribbon Bar). I couldn't find any way to add tabs from the modules, or at less from XAML. What I did was a service like this: public class RibbonService { public PrioritySet Tabs { get; private set; } public PrioritySet QuickAccess { get; private set; } public PrioritySet ContextualGroup { get; private set; } } this clases has the following structure: The key here is the class PrioritySet, to make it simpler, it is just a collection where each item has a priority asociated.
Now if a service like this is registered on your framework, then from the modules you could add the Tabs. Remember that your shell project needs to get the RibbonService and then bind the collection of items to the Tabs property - note that PrioritySet implements INotifyCollectionChanged, so if the ribbon is binded it's items will be updated automatically. Also with this you could get some intresting stuff, as composing the tabs from the service.
For example one module may need to add only one button to the ribbon, this could be easily done doing _ribbonService.Tabs. Add(new RibbonButton(){Header = "Button", Icon = new Uri("icon. Png")}) In my app, I have Tabs > Groups > Buttons so every module has full control over the Ribbon.
Note also that from the modules you could add all the items that you want, but the module can't remove an item from the ribbon aat less it have a reference to it, or be the one that created it.
Fantastic. Nice approach. I simplified it a little for my needs but it works great.Thanks.
– Carles Company Aug 31 at 8:05.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.