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

Help templating the radmenu

2 Answers 46 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Pablo
Top achievements
Rank 1
Pablo asked on 06 Mar 2012, 01:13 PM
Hi all, 

we are trying to stylish the radmenu and we can't find the way to do what we need. We just want the top item in the menu (the "header item") to not to show that orange background color when the mouse is over the item or the item pressed. Rather than that, we need to keep the regular background color, without changes (see attached files "HowItWorksNow.png" and "WhatWeWant.png".)  

We've taken a look at the documentation and tried to navigate the different templates that the control has, but we haven't been able to achieve this behaviour. 

We're using Expression Blend 4 and SL 4. 

Any help will be really appreciated. Regards,

Pablo.

2 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 06 Mar 2012, 03:29 PM
Hello Pablo,

To customize the brushes used in RadMenu, you need to edit the ButtonChrome control which is found in each template of RadMenuItem.  Be sure to check this help article on modifying the ButtonChrome. Although it uses a RadComboBox , the process is the same for a ButtonChrome found in any other control.

I can see that the design you wish to have has solid colors, so I think you had better replace the ButtonChrome with simple visual elements (Borders, for instance) and animate them in the VisualStateManager. This approach is also described in the article.

I hope this will be helpful.

Kind regards,
Dani
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Pablo
Top achievements
Rank 1
answered on 06 Mar 2012, 06:15 PM
Hi Dani,

Thanks for your fast response! We'll have a look at it and get back to you with any additional questions. 

Regards,

Pablo.
Tags
Menu
Asked by
Pablo
Top achievements
Rank 1
Answers by
Dani
Telerik team
Pablo
Top achievements
Rank 1
Share this question
or