WPF ControlTrigger IsMouseOver

When I try to change the image for the WPF trigger "IsMouseOver" for the button, the control flickers a lot. Is there any workaround for this problem?

+3
source share
2 answers

Check if the image is set to what you are installing it to. If it is configured to configure it, do not install it again.

0
source

Use relative binding and find a deeper ancenstor that should have a permanent property IsMouseOver.

+1
source

Source: https://habr.com/ru/post/1738813/


All Articles