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

How to Remove mouseover effect to Separator in RadMemu Control in wpf App

2 Answers 127 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ramakrishna
Top achievements
Rank 1
Ramakrishna asked on 04 May 2012, 12:47 PM
Hi,

In my WPF Application i used telerick controls.
I used Rad Menu control.
Whenever mouse over the menu item effect is coming to both menu item and separator.
My requirement is remove mouseover effect to separator.
Can any one guide me in that?

Thanks,
Ramki

2 Answers, 1 is accepted

Sort by
0
Bharadwaj
Top achievements
Rank 1
answered on 25 Sep 2012, 08:34 AM
Hi,

 i used telerick controls.
I used Rad Menu control.
Whenever mouse over the menu item effect is coming to both menu item and separator.
My requirement is remove mouseover effect to separator.
Can any one guide me in that?

Thanks,
Bharadwaj
0
Rosen Vladimirov
Telerik team
answered on 25 Sep 2012, 04:14 PM
Hi,

I tried to reproduce the issue, but until now I'm not able to do it. Did you try setting IsSeparator to true?
Here's the code I used and as attachment you will find a short video showing the mouse over on RadMenuItems which are not separators and the missing effect when the mouse is over a separator item:
<telerik:RadMenu x:Name="radMenu" VerticalAlignment="Top">
    <telerik:RadMenuItem Header="Item 1">
        <telerik:RadMenuItem Header="Item 1.1"/>
        <telerik:RadMenuItem Header="Item 1.2"/>
        <telerik:RadMenuItem Header="Item 1.3"/>
        <telerik:RadMenuItem IsSeparator="True"/>
        <telerik:RadMenuItem Header="Item 1.4"/>
    </telerik:RadMenuItem>
</telerik:RadMenu>

Maybe you are setting something else... Which theme are you using? Which version of RadControls are you using?

Regards,
Rosen Vladimirov
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

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