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.
Unfortunately, activation email could not send to your email. Please try again.

How to change the background color of TitleBar in RibbonWindow?

Background colour of the TitleBar has been modified by overriding the RibbonWindow template in “App.Xaml” and changed the value of “Background” property in “TitleBarStyleKey”.

 

The following code example demonstrates the same.

MainWindow.Xaml

 

 

 

App.Xaml

 

C:\Users\keerthana.jegannatha\AppData\Local\Microsoft\Windows\INetCache\Content.Word\RibbonTitle_Bar.png

Figure 1. Modify the background colour of TitleBar in RibbonWindow

Sample Link: How to change the background colour of TitleBar in RibbonWindow?

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8247 12/22/2017 12/26/2017 WPF Ribbon
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.