3 Answers, 1 is accepted
0
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
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 >>
0
Christina
Top achievements
Rank 1
answered on 14 Jan 2016, 08:56 PM
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?
0
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
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