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
220
Changing the Toolbar Style
posted

Hi guys,

I have a question thats probably pretty easy to anwer but I couldn't seem to find the answer anywhere. 

We're switching to the Office2010 stye now. Since we allow every user to select the style he want's to use (e.g. office 2007) the style is set via: 

Infragistics.Win.AppStyling.StyleManager.Load() when the apllication starts

but this doesn't seem to include the ribbon (toolbar). I tried to do it manually but I'm not happy with the solution. Shouldn't loading the style change the toolbar style too?

Another little issue is the Image used for the "File" Menu Item. The image is displayed in a very strange style when using the office 2010 style but since the menu is generated with an xml file and I still need the image for the office 2007 style I can't remove it. Is there an easy way to hide this image when I use the 2010 style?

And one last question: Correct me if I'm wrong but I think it's default behaviour if you use the & key in the name of a menu item the char after the & is underlined and used for the ALT+Key functionality. When i use the toolbar style office 2010 this doesn't work in win 7. On my 7 machine the & keys are displayed and the ALT+key doesn't work. In win xp this works just fine which is kinda strange.

Thanks in advance