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.

RibbonBar Header foreground color

Thread ID:

Created:

Updated:

Platform:

Replies:

118656 Mar 30,2015 11:09 AM Mar 31,2015 08:13 AM WPF 1
loading
Tags: Ribbon
Constantin Patak
Asked On March 30, 2015 11:09 AM

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 08:13 AM

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.

Regards,
Bharadhi K


CONFIRMATION

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.

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.

;