We would like to use the XamRibbonWindow without the Ribbon, similar to the options dialogs in Office 2007. Is this supported? How do we match the theme of the main application window (which does have the Ribbon)?
You can use a XamRibbonWindow. Just be sure to still put a RibbonWindowContent as the Content - just don't set the Ribbon property. The RibbonWindowContent will provide the form caption area at that point similar to how the ribbon would when it was collapsed. With regards to theming, there are classes in the Infragistics.Windows.Themes namespace of the XamRibbon assembly that have the resource dictionaries for the various themes. So you would add the appropriate resourceset (e.g. RibbonOffice2k7Black) to the Resources property of the XamRibbonWindow or the RibbonWindowContent.
Can you please explain how to implement the theme to XamRibbonWindow without having an XamRibbon
I've attached a sample that has a combobox allowing you to choose the theme for the window.
Thanks for your valuable assistance, I have some points to mention
So can you help me to understand about these points
I'm sorry but I don't understand your question. The original post was about using XamRibbonWindow without using XamRibbon. The sample I had attached at that time addressed that question. With regards to Aero, there is no Aero theme for the XamRibbon. When running Office 2007 on an Vista system the Ribbon still looks like it would on other systems. As with Office 2007, the xamRibbonWindow itself is not affected by the theming when running on a Vista system with glass enabled - instead it uses the OS glass for the non-client area as Office 2007 does.
Hi Andrew,
I cant get u.Well you mean xamribbonwindow using(applying) only office2k7(Blue,black,silver).What about other themes like aero,royale and etc to apply .how to set that in ribbon window in wpf?
The v7.1 assemblies were named starting with "Infragistics3.Windows" whereas the v7.2 assemblies when released were renamed to start with "Infragistics3.Wpf". I just happened to have the older named assemblies in a project I used as the basis for that sample I gave you.
With regards to only being affected by the Office2k7 themes, that is correct. Office 2007 doesn't change its look based on the os theme so when using one of the os themes (aero, royale, generic, lunaXXX), the default office color scheme of blue is used. In Office 2007, there are really 3 color schemes - Blue, Silver and Black. The theme assemblies that ship with the product have other color washed versions of the themes as well.