Reputation: 1621
When I try to change image for WPF trigger 'IsMouseOver' for button, the control flickers a lot.. Is there any workaround for this issue?
Upvotes: 3
Views: 820
Reputation: 9800
Use relative-binding and find the more deep ancenstor, which has to have permanent IsMouseOver
property.
Upvotes: 1
Reputation: 347586
Check if the image is already set to what you're setting it to. If it is set to what you're setting it to then don't set it again.
Upvotes: 0