Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Theme of .NET 4.5 WPF Ribbon

I am trying to change the theme of the new WPF Ribbon Control from .NET Framework 4.5 and I am stuck.

I only managed to change some brushes (Background, Foreground, Border ...) but I seem to be unable to change the bright overlay and shadows.

I am happy to use a resource dictionary but I don’t know which properties I need to set.

I hope you can point me in the right direction, thank you much for your help!

like image 392
user667967 Avatar asked Nov 01 '12 09:11

user667967


1 Answers

If you want to change anything more than the exposed properties of the Ribbon control (or any other control) e.g. Background, Foreground etc. you will have to edit the control's Template.

In a control's template you can change almost anything that's part of the control's visual appearance.

For more information on customizing a control's template have a look on this link: MSDN Styling & Templating

like image 76
Striver Avatar answered Oct 05 '22 22:10

Striver