HI experts,
I got a question. Currently, we are using Aero style library for the whole project. But we gonna upgrade the menu from standard menu bar to Ribbon.
I open the Aero style library and see it says "When using the Ribbon, you will need to set the StyleSetName to 'RibbonStyleSet'." But the ribbonStyleSet seems empty, so that I lose all original styles. My question is how to create style set for ribbon and keep other styles the same as it is now? And if I like the Ribbon style in "office2010Blue.isl", how can I just extract those style sets for Ribbon and keep other styles as it is now? Please teach me.
Thanks in advance.
Hi Ming,
Where does it say that about using the "RibbonStyleSet"? I'm not familiar with the reference you are making.
My guess, just from the context of what you wrote here, that the Style Library has different styling for the ribbon in a separate style set. So maybe it just means that you should set your UltraToolbarsManager StyleSetName property to "RibbonStyleSet" so that your ribbon picks up that StyleSet instead of the default one. In that case, it would only affect the ToolbarsManager and no other controls.
Hi Mike,
You have solved my problem, thank you very much. If you open the Aero.isl library. Under the stylesets node, there are 2 styleSets there, one is default and another is ribbonStyleSet. I tried to copy the default styleset in office2010Blue.isl into ribbonStyleSet and set UltraToolbarsManager's StyleSetName property to "RibbonStyleSet". That changes the ribbon style to office2010 and keeps other as it is now.
Thanks again.!!!