Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
Merging the Ribbon
posted

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.

Parents
No Data
Reply
  • 54937
    Offline posted

    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.

Children