开发者

WPF Storyboard flicker issue

开发者 https://www.devze.com 2022-12-24 23:59 出处:网络
Wit开发者_JAVA技巧h the code below, the control flickers whenever the image is changed for MouseOver/MousePressed? I am using Storyboard and Double animation.The image display for the button borderis

Wit开发者_JAVA技巧h the code below, the control flickers whenever the image is changed for MouseOver/MousePressed? I am using Storyboard and Double animation.The image display for the button borderis very smooth with WPF Triggers but not with Storyboard. Can anyone help me to fix this issue?


It could be a thread priority issue, try showing the window with ShowDialog() (modular window) instead of Show() and see if it still happens.

0

精彩评论

暂无评论...
验证码 换一张
取 消