Hello,
I want to change the theme of the XamRibbon and all the items from infragistics. I did it with binding theme proporties of all the infragistics component classes to my String Theme Property. But Ribbon theme does not change for some themes (Luna Olive, Luna Silver, Royale...) Is there any way to write a custom theme and change the theme of the ribbon to my custom theme when i select these themes. For example when i select Royale Theme, my CustomTheme for ribbon will be set to XamRibbon. Or do you have any plan to add these themes for XamRibbon?
The ribbon includes 2 base washable themes. Onyx uses this as the base and washes some of the brushes to provide a slightly different look. Similarly the theme pack assemblies (e.g. leaf, forestgreen, water, etc.) use these to wash the assemblies. So if you want to use a custom washed look for the ribbon, I would recommend looking at the theming samples under the xamRibbon in the xamFeatureBrowser sample as that shows several examples of changing the look of the xamRibbon's color scheme.
I believe what he was referring to was NOT changing the theme in XP, but rather when you select LunaOlive, there is no change to it whatsoever. Office2KBlue seems to be hardcoded everywhere as the default them and we have only seen changes when you change the theme (in the XAML defining the Ribbon Cotnrol) when you switch between Office2KBlue, Silver, Onyx, and Black. The Onyx theme doesn't change it too much, it only seems to affect the look of a hover button. Setting no theme whatsoever seems to default to Office2kblue. What would be the best way for us to apply our own style to the ribbon?
fredp said: The ribbon only updates when I choose the officeblack, silver or blue, but does not if I choose luna or other themes. For isntance, if I chagne to Luna (I am runnign windows XP), then the xamRibbon looks like the office2k blue. It seems to me that it should change to olive.
fredp said: My second question is that I can't find the following themes,which are on the WPF controls page on your website, in the sample, or anywhere in my installation: Fall, Forest Green, Leaf, Lipstick, Wind, and Water
Hi Alex,
I have 2 questions about this post.
First, when I run the ThemeSetting sample you provided in this post, the xamRibbon doesn't update for all the selections.Your sample uses the ThemeManager
The ribbon only updates when I choose the officeblack, silver or blue, but does not if I choose luna or other themes. For isntance, if I chagne to Luna (I am runnign windows XP), then the xamRibbon looks like the office2k blue. It seems to me that it should change to olive.
My second question is that I can't find the following themes,which are on the WPF controls page on your website, in the sample, or anywhere in my installation: Fall, Forest Green, Leaf, Lipstick, Wind, and Water
Please let me know
If you want to set themes to all of our controls at the same time, you should use the ThemeManager class to do so and set the CurrentTheme property. We do not recommend doing this with a Style setter.
I am attaching a small project with this functionality. Please note that not all of our controls support all of the themes. You can request this or new themes here, or see how to create your custom ones here.