We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot inherit Office365 style for ribbon

Thread ID:





142813 Feb 20,2019 04:21 PM UTC Feb 22,2019 10:59 AM UTC WPF 3
Tags: Ribbon
Aleksander Zotov
Asked On February 20, 2019 04:21 PM UTC

I am trying to use MergedDictionaries for my Ribbon control and I am using Office365 skin:

   <ResourceDictionary Source="/Syncfusion.Tools.WPF;component/Framework/Ribbon/Themes/Office365Style.xaml"/>

But it does not find any dictionary for this specific theme. Others like Metro or Blend work.

Jagadeesan Pichaimuthu [Syncfusion]
Replied On February 21, 2019 11:27 AM UTC

Hi Aleksander, 
Thanks for using Syncfusion product. 
From your update, we have noted that you are trying to update the Office365 style using merged dictionaries by providing path. But, our Office365 style has been available in “Synfusion.Themes.Office365.WPF” assembly and it is not available under Tool.WPF, so you are facing issue while applying style. Now, we have prepared a simple sample in which we have added “Syncfusion.SfSkinManager.WPF” and “Syncfusion.Themes.Office365.WPF” references and override Office365 style using merged dictionaries and it can be downloaded from following location. 
Code snippet: 
   <ResourceDictionary Source="/Syncfusion.Themes.Office365.WPF;component/Tools/Ribbon/Ribbon.xaml"/> 
Please check with the sample and let us know whether your requirement has been achieved. 

Aleksander Zotov
Replied On February 21, 2019 01:23 PM UTC

Yes, it worked. Thank you very much.
I have another small issue. I could not find a documentation about it. For Office2103 I could use BasedOn="{StaticResource Office2013RibbonWindowStyle}".
Where I can find which keys I can use from Office365 styles?

Jagadeesan Pichaimuthu [Syncfusion]
Replied On February 22, 2019 10:59 AM UTC

Hi Aleksander, 
Thank you for the update. 
Currently in our SfSkinManager documentation, it includes the details for SfSkinManager resource dictionary path and how to override the themes in WPF Application and we didn't include the details about the Key name to override. We consider your request about adding the key name in documentation. We will plan and proceed further on this. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon