4 Answers, 1 is accepted
I couldn't rerproduce this issue on our side. It seems that you have defined a custom style? Is this the case? Can you please send us a sample application rerpoducing the issue? You can also have a look at the attached sample that I used for testing - can you reproduce the issue there and how?
Thank you in advance for your cooperation.
the Telerik team
Below is my code for my radpanel project. I assume that the yellow effect when a user hovers to the stackpanel group of hyperlink is caused by the ButtonChrome of telerik controls. But I dont know how to modify it. SImply I just want to disable the mouseover effect. Also, I recently discovered that it can also be pressed (see attached image), maybe that's because of the Button Chrome?
PS: why is it the Attached FIle doesnt accept .zip files?
Since the RadPanelBar inherits the RadTreeView control, it is designed to display a hierarchy. Therefore when you define a StackPanel inside the RadPanelBarItem, this StackPanel is considered as the first item from the RadPanelBarItem.Items collection and therefore the StackPanel is wrapped in a RadPanelBarItem and the PanelBarItemSecondLevelTemplate ControlTemplate defines how it should be rendered. Therefore if you need to remove the MouseOver effect you can remove the MouseOver and MouseOut VisualStates from the PanelBarItemSecondLevelTemplate template. Furthermore, you might need to remove the SelectionStates as well.
However, if you need to see each HyperlinkButton as a different PanelBarItem and keep its MouseOver effect, you will have to change the definition of the RadPanelBarItems like so:
I attached a sample project illustrating the first approach. I hope it helps.
the Telerik team
It worked! Many thanks! :)