4 Answers, 1 is accepted
We investigated the behavior and it is a bug at our side. We have created a PITS item where you can follow its progress.
Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
i used IsKeboardFocusWithin property as a workaround
IsKeboardFocusWithin also does not work
there is one more bug
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Value" Value="5"></Setter>
<Setter Property="BorderBrush" Value="Red"></Setter>
This trigger changes the value to 5 but not the border brush.its been 4 years is it not being fixed yet???
The IsKeyboardFocusWithin as well as the IsMouseOver properties work as expected. The reason for the observed behavior is that in the ControlTemplate of the control there is a MouseOver VisualState also changing the BorderBrush. Try setting the background instead:
However if you need to change the BorderBrush using a Trigger you would need to modify the ControlTemplate in order to remove the the MouseOver VisualState.
Hope this helps.