But it works when TextBlock FontSize is 20 or more for instance. When I set FontSize to 16, triggers or doubleanimation don't work.
How to solve this problem?
3 Answers, 1 is accepted
answered on 18 Sep 2012, 11:36 AM
There is a part of the RadWindows header which does not register events like MouseEnter, but setting the Font to 20 overcomes that area and therefore the animation is working. So all you need to do is set the WindowHost.HitTestable attached property to true:
Thanks, it`s works, but I already using simple button with custom style.
Could you explain how it works? (telerik:WindowHost.HitTestable="True")
answered on 21 Sep 2012, 10:49 AM
In the described scenario the events are handled by the Windows, not by the WPF. But when the HitTestVisible is set to true the event is send to WPF instead - it finds the element that the property is set to and executes the corresponding logic.