I need to remove the hover highlight on the radtreeview

4 posts, 0 answers
  1. Jessica
    Jessica avatar
    1 posts
    Member since:
    May 2012

    Posted 30 May 2012 Link to this post

    Does anyone know how to take the highlight off of the radtreeview when the mouse hover over it. Thank-You.

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 04 Jun 2012 Link to this post

    Hello Jessica,

    You'll have to edit the default ControlTemplate of the RadTreeViewItems and remove the MouseOver visual state settings.

    I attached a sample solution demonstrating this approach. Please have a look at it and let me know if it helps.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Christina
    Christina avatar
    6 posts
    Member since:
    Jul 2012

    Posted 14 Jan in reply to Tina Stancheva Link to this post

    Is this still the only way to do this? 3.5 years later there is still no option to disable the awful highlight of the entire tree view?
  5. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 19 Jan Link to this post

    Hi Christina,

    We don't want to make breaking visual changes to our existing controls as this will affect many of our clients. Furthermore the highlight effect of TreeViewItem-s i.e. the MouseOver visual state was introduced in order to be consistent with the native WPF TreeView control and provide better user experience.

    Unfortunately there is no other way to remove the MouseOver visual element from the control's default template but to modify it manually as my colleague Tina explained. Now it is easier than ever to do this -- just Extract the control template via VisualStudio Designer or Expression Blend and do the needed change. We have help article that explains how to extract and edit our controls Control Templates here.

    Let me know if there is anything else I can assist you with.

    Regards,
    Evgenia
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top