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

How to remove RadMenuItem Mouse-over styles

2 Answers 122 Views
Menu
This is a migrated thread and some comments may be shown as answers.
palak
Top achievements
Rank 1
palak asked on 30 Jul 2012, 08:09 AM
Hello Guys,

I am using Radmenuitem as a top-level menuitem & binding submenuitems vertically, exactly like website menus.

I want to remove Mouse-over styles (yellowish 3d effects ) & other implicit styles from the RadMenuItem. How to do this ?

Thanks,
palak

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen Vladimirov
Telerik team
answered on 31 Jul 2012, 12:39 PM
Hi,

You can check our online help for applying different styles in your application. If you check your installation folder for RadControls you`ll find there "Themes.Implicit" directory in which we are storing all themes and templates that are using for our controls. If you want to modify only the behaviour of RadMenu and RadMenuItem you can check this blog post and use the tool from it to extract only the menu xaml styles. Please note that RadMenu and RadMenuItem templates are included in Telerik.Windows.Controls.Naviagation and this is the XAML file that you have to load in the TelerikStlyesExplorer described in the post.
To be more clear we have created a sample project for you where we have extracted menu XAML and we have applied several changes in it so now the yellowish effect is switched off. Of course if you want a different behaviour you can apply other modifications in the XAML file.
Please notice that you`ll have to merge the resource dictionaries in the App.xaml file:
<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="MenuImplicitStyles.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>
 
We also noticed you have another forum post here - we are using the same project in it to try to resolve your problem - in "MenuImplicitStyles.xaml" you can find some changed lines for popup but I`ll explain them in the other forum post.

Please check the attached project and inform us should you have any other concerns.

Kind regards,
Rosen Vladimirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
palak
Top achievements
Rank 1
answered on 01 Aug 2012, 07:59 AM
Hi Rosen,

Thanks for quick guidelines how i can modify implicit styles. During r & d, i found, radmenu uses [buttonchrome] in-built for radmenuitems. so i've created separate static styles for [buttonchrome] control & by doing that, i resolved my problem.

I am going to check what you suggested & will surely adapt it in future.

Thanks
palak
Tags
Menu
Asked by
palak
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
palak
Top achievements
Rank 1
Share this question
or