How would I go about merging a set of ribbon toolbars. If I was uing an Addon model where new features can be added on an addhock basis, how would I go about merging my diferent setups for the ribbon.
There is no merging functionality built into the xamRibbon. As for the addin model, I'm not sure this would work well. The elements in the addin model are in a separate appdomain and so any elements that you tried to take from it and put into an element from the outer host I believe would require creating a hostadapter (i.e. ContractToViewAdapter) which is going to be pretty heavy since it ends up creating an HwndHost wrapper around the specified element. Perhaps another customer will chime in with an approach they used for this scenario.
In order to do this I have progomaticaly created the menu options as well as the bindings. Although this allows my controler to add menu options, there is limited editing of the look and feel. What would be good would be a way to add bits of your controls to a resource file, or some such and have them merged at rumtime. For example you could defign an xaml deffenition file for the Ribbon and merge that before it is rendered. That way you could take care of command and bindings directly using the existing interface.