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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RibbonBar Header foreground color

Thread ID:





118656 Mar 30,2015 03:09 PM UTC Mar 31,2015 12:13 PM UTC WPF 1
Tags: Ribbon
Constantin Patak
Asked On March 30, 2015 03:09 PM UTC

I am currently using the syncfushion ribbon inside a syncfushion ribbon window with skin storage of "Office2013". How can I bind the foreground color of the RibbonBar Header to a View Model property?

Thank you

Bharadhi K [Syncfusion]
Replied On March 31, 2015 12:13 PM UTC

Hi Constantin Patak,

Thank you for using Syncfusion products.

Query: How can I bind the foreground color of the RibbonBar Header to a View Model property?

We can bind the Foreground color of the RibbonBar Header by using the Template of the RibbonBar and binding the Brush value to the Header TextBlock. We have prepared a sample to demonstrate the same. In the sample, we have used the template of the RibbonBar "Office2013RibbonBarStyle1" and to the Foreground property of the Header, we have set binding to the "RibbonBarBrush" property defined in the ViewModel.

Please find the sample in the following link.

Sample: Ribbon_133122.zip

Please let us know if our sample fufills your requirements and if you require further assistance on this.

Bharadhi K


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

or the page will be automatically redirected to 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