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

Theme change (mouse over)

1 Answer 132 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marek
Top achievements
Rank 1
Marek asked on 24 Jul 2020, 06:44 AM

Hello, 

i'm want to change mouse over event to disable in RadPanelBar. I tried several thinks on that topic, but nothing works. I tried this:

https://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-editing-control-templates?_ga=2.187479073.827374626.1595174688-1718886426.1590775437

When i found component for changing (first i tried to RadButton). I'm change mouse over value property (setter) and nothing change. First i cannot found in Telerik.Windows.Controls.xaml , but i found it in Telerik.Windows.Controls.ConversationalUI.xaml . Pls do you have it some guide how to change it properly ? 

 

Thanks for your time and i'm glad to see your answer. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 28 Jul 2020, 11:59 AM

Hello Marek,

Thank you for the referenced link.

You can check out the following article: Remove MouseOver and Selected Overlay on Child Item. It outlines how the ControlTemplate of the RadPanelBarItem can be updated to achieve the desired result. Note, that it uses the Office_Black theme as an example. 

You can extract the ControlTemplate from the "Telerik.Windows.Controls.Navigation.xaml" file inside the "Themes.Implicit\WPF40\{your theme}\Themes" folder in the UI for WPF installation directory

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Tags
General Discussions
Asked by
Marek
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or