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

Styling of Application Button DropDown Content

1 Answer 41 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 09 Jan 2012, 12:13 PM
I am trying to modify default Metro theme for RibbonView in a very simple way - by changing the main color of the theme to something different. Apparently I can not find the way of finding the template for Application Button DropDown Content. What i want to do is to change the color of the blue bar which appears over the content of the popup window that appears after clicking the application button. Can anyone direct me, where should I look for the template? Thank in advance!

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 12 Jan 2012, 12:51 PM
Hi Adam,

I am not sure which color you need to change but in Metro theme the RadRibbonView and the Backstage menu use the following colors:
  • AccentColor - the background color of the ApplicationButton, the BackgroundColor of the tabstrip hosting the RibbonTab headers and the selection color of the selectable BackstageItems.
  • MainColor - the background color of the RibbonTabs content and the Backstage menu
  • BasicColor - the background color of the BackstageItems when the mouse is over them

You can change these colors in code behind to better suit your needs:

MetroColors.PaletteInstance.AccentColor = Colors.Green;
This article can give you more information on how to colorize the Metro theme.

I hope this information will help you. However, if I'm missing something or if you need more info please let me know.

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RibbonView and RibbonWindow
Asked by
Adam
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or