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
225
Using XamRibbonWindow without XamRibbon
posted

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)?

 

Parents
No Data
Reply
  • 54937
    Offline posted

    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.

Children