This is a migrated thread and some comments may be shown as answers.

Theme of RadRibbonWindow

2 Answers 110 Views
Window
This is a migrated thread and some comments may be shown as answers.
Emmanuel
Top achievements
Rank 1
Emmanuel asked on 17 Mar 2017, 02:24 PM

Hi,

I use the RadRibbonWindow control. 

Is there a way to unify the theme of that control with the rest of the application. Actually, the control uses the system theme. The result vary from a system to another. Here are two screenshot, one from a windows 7 machine, another one from a windows server 2008 R2 machine.

Is it possible to "Metro-ize" the control ?

2 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 22 Mar 2017, 12:58 PM
Hello Emmanuel,

Indeed the RibbonWindow will be different on different OS and with different settings being applied. However we support theming for it so that it gets unified look with RadRibbonView by ignoring(overriding) the default OS theming.  

For the purpose you'll have to set the IsWindowsThemeEnabled property of the RibbonWindow to false in a static conctructor as stated in our documentation and add RadRibbonWindowStyle to the application's global resources.
Let me know how this works for you.

Regards,
Evgenia
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Emmanuel
Top achievements
Rank 1
answered on 22 Mar 2017, 03:16 PM

Hi Evgenia,

Thanks it works out well, I tried to play with the IsWindowThemeEnabled but didn't pay attention to the static constructor, now it's working, thanks !

Best regards

EIS

Tags
Window
Asked by
Emmanuel
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Emmanuel
Top achievements
Rank 1
Share this question
or