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

3 posts, 0 answers
  1. Ramakrishna
    Ramakrishna avatar
    2 posts
    Member since:
    Jul 2012

    Posted 04 May 2012 Link to this post

    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. Bharadwaj
    Bharadwaj avatar
    3 posts
    Member since:
    Sep 2012

    Posted 25 Sep 2012 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 25 Sep 2012 Link to this post

    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.

Back to Top