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

Disable Default RadContextMenu On Mouse Enter effect

1 Answer 111 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Nikhil
Top achievements
Rank 1
Nikhil asked on 11 Jul 2011, 01:58 PM
Hi,

I am using RadContext menu to show the menu options. whereas i dont want highlight the menu option on Mouse Over event. I tried to apply the visual states but it didnt worked.

Could you please help me

1 Answer, 1 is accepted

Sort by
0
Accepted
Dani
Telerik team
answered on 12 Jul 2011, 02:55 PM
Hi Nikhil,

The RadMenuItem in RadContextMenu contains four control templates - TopLevelHeaderTemplate, TopLevelItemTemplate, SubMenuHeaderTemplate and SubMenuItemTemplate. Inside each of these control template there is a ButtonChrome control that is responsible for the visual states of the menu item. To cancel the mouse over effect, simply set RenderMouseOver  = "False" to each of the ButtonChrome controls.

I hope this helps.

Kind regards,
Dani
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

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